summaryrefslogtreecommitdiffstats
path: root/XMonad/Main.hsc
diff options
context:
space:
mode:
authormwlochbaum <mwlochbaum@gmail.com>2013-02-05 19:28:58 +0100
committermwlochbaum <mwlochbaum@gmail.com>2013-02-05 19:28:58 +0100
commit905ee90bad8922aaac5c1408fcdc5370ac388a78 (patch)
tree59a708e3f4b4916889054a482417f250faafd589 /XMonad/Main.hsc
parent72564ceef760692469dd90b8f41df49fd2511934 (diff)
downloadmetatile-905ee90bad8922aaac5c1408fcdc5370ac388a78.tar
metatile-905ee90bad8922aaac5c1408fcdc5370ac388a78.zip
configurableEventMasks
Ignore-this: 3848de0f8f5ad5995e87a2a01e7752f darcs-hash:20130205182858-2314b-e8e2c7286946762cadb2e58ae043b194d681df9e
Diffstat (limited to 'XMonad/Main.hsc')
-rw-r--r--XMonad/Main.hsc5
1 files changed, 2 insertions, 3 deletions
diff --git a/XMonad/Main.hsc b/XMonad/Main.hsc
index 0176187..8410a0c 100644
--- a/XMonad/Main.hsc
+++ b/XMonad/Main.hsc
@@ -75,9 +75,8 @@ xmonad initxmc = do
-- If another WM is running, a BadAccess error will be returned. The
-- default error handler will write the exception to stderr and exit with
-- an error.
- selectInput dpy rootw $ substructureRedirectMask .|. substructureNotifyMask
- .|. enterWindowMask .|. leaveWindowMask .|. structureNotifyMask
- .|. buttonPressMask
+ selectInput dpy rootw $ rootMask initxmc
+
sync dpy False -- sync to ensure all outstanding errors are delivered
-- turn off the default handler in favor of one that ignores all errors