summaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorwirtwolff <wirtwolff@gmail.com>2009-02-09 19:38:37 +0100
committerwirtwolff <wirtwolff@gmail.com>2009-02-09 19:38:37 +0100
commit18a7422064d99f0d775a7777750d29e109dcba4e (patch)
tree88ba3af0273e196b44a1f350efbf5646c0644046 /XMonad
parent774ee4975da2be3d11ed3f08ca12d0b0f36786f1 (diff)
downloadmetatile-18a7422064d99f0d775a7777750d29e109dcba4e.tar
metatile-18a7422064d99f0d775a7777750d29e109dcba4e.zip
X.Config.hs, ./man/xmonad.hs: update Event Hook doc
Ignore-this: 3792043278932e371e3e2858913a2b17 darcs-hash:20090209183837-d17f0-da898b508e3a69f030de7de69c738065d1e8c81f
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Config.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/XMonad/Config.hs b/XMonad/Config.hs
index 112ed17..c05c1b1 100644
--- a/XMonad/Config.hs
+++ b/XMonad/Config.hs
@@ -127,7 +127,8 @@ logHook = return ()
-- Event handling
-- | Defines a custom handler function for X Events. The function should
--- return True if the default handler is to be run afterwards.
+-- return (All True) if the default handler is to be run afterwards.
+-- To combine event hooks, use mappend or mconcat from Data.Monoid.
handleEventHook :: Event -> X All
handleEventHook _ = return (All True)