aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks
diff options
context:
space:
mode:
authorDevin Mullins <me@twifkak.com>2008-04-26 22:36:38 +0200
committerDevin Mullins <me@twifkak.com>2008-04-26 22:36:38 +0200
commit7270f7ddd79cb88370043e37a034763831f9663a (patch)
tree9d278fcbe87f8f5de10df9a89d970a48e149ae28 /XMonad/Hooks
parent52dbdd8c41886b8e65ad0249b3069914efcb95dd (diff)
downloadXMonadContrib-7270f7ddd79cb88370043e37a034763831f9663a.tar.gz
XMonadContrib-7270f7ddd79cb88370043e37a034763831f9663a.tar.xz
XMonadContrib-7270f7ddd79cb88370043e37a034763831f9663a.zip
bug doco for UrgencyHook
darcs-hash:20080426203638-78224-a93e768bf2e8d94d1bef2f4df1d03fe164caf743.gz
Diffstat (limited to 'XMonad/Hooks')
-rw-r--r--XMonad/Hooks/UrgencyHook.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/XMonad/Hooks/UrgencyHook.hs b/XMonad/Hooks/UrgencyHook.hs
index 633503d..1902f03 100644
--- a/XMonad/Hooks/UrgencyHook.hs
+++ b/XMonad/Hooks/UrgencyHook.hs
@@ -121,6 +121,10 @@ data WithUrgencyHook h a = WithUrgencyHook h deriving (Read, Show)
-- the list of urgent windows ourselves, allowing us to clear urgency when a window
-- is visible, and not to set urgency if a window is visible.
-- If you have a better idea, please, let us know!
+--
+-- Update: I'm a doofus. Thanks to arossato's EventHook I see that the "9-10
+-- times" thing was an Urgencyhook bug. If you fix it, and make UrgencyHook
+-- ICCCM-compliant, you will win a prize.
instance UrgencyHook h Window => LayoutModifier (WithUrgencyHook h) Window where
handleMess (WithUrgencyHook hook) mess
| Just PropertyEvent { ev_event_type = t, ev_atom = a, ev_window = w } <- fromMessage mess = do