Closed GoogleCodeExporter closed 8 years ago
This patch just adds clearUrgency to the export list.
Original comment by JohnTy...@gmail.com
on 23 Sep 2013 at 3:12
Attachments:
A patch for #1 is now in the official repo. We could add this function to the
module too, if you think that would be useful.
filterUrgencyHook skips w = do
ws <- gets windowset
case W.findTag w ws of
Just tag -> when (tag `elem` skips) (clearUrgency w)
_ -> return ()
Original comment by vogt.a...@gmail.com
on 23 Sep 2013 at 3:17
[deleted comment]
That would be good, yeah. Would that imply that I no longer need to implement
the UrgencyHook instance as I did above?
Original comment by JohnTy...@gmail.com
on 23 Sep 2013 at 4:14
There is an instance UrgencyHook (Window -> X ()). Previously you had to write
a separate data&instance for each urgencyhook. This is no longer the case
because the urgencyhook doesn't have to be stored in a layout anymore (due to
the addition of the handleEventHook a couple years back).
Original comment by vogt.a...@gmail.com
on 23 Sep 2013 at 11:58
This sounds good. Sorry to be a tool, but what does that imply for my config?
For example if it looked like this before
xmonad $ ewmh $ withUrgencyHook (FilterUrgencyHook ["NSP", "SP"]) defaultConfig
then I'd expect something like....
xmonad $ ewmh $ withUrgencyHook (filterUrgencyHook ["NSP", "SP"]) defaultConfig
now? Also, when (roughly) can I expect this to hit a stable release? I'm using
the latest release from xmonad.org but not darcs.
Original comment by JohnTy...@gmail.com
on 24 Sep 2013 at 10:09
You're exactly right.
A release won't happen for a several months I expect. Or it might be sooner if
ghc-7.8 breaks things.
Original comment by vogt.a...@gmail.com
on 24 Sep 2013 at 10:33
You're exactly right. Taking a closer look it seems like filtering might be
better off done in the UrgencyConfig but I will leave things as-is for now.
A release won't happen for a several months I expect. Or it might be sooner if
ghc-7.8 breaks things.
As for trying it out, you can `cabal install
http://code.haskell.org/xmonad/xmonad.tar.gz
http://code.haskell.org/XMonadContrib/XMonadContrib.tar.gz', if darcs is too
much trouble.
Original comment by vogt.a...@gmail.com
on 24 Sep 2013 at 10:53
Original issue reported on code.google.com by
JohnTy...@gmail.com
on 19 Feb 2013 at 7:36