aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Main.hsc
diff options
context:
space:
mode:
Diffstat (limited to 'XMonad/Main.hsc')
-rw-r--r--XMonad/Main.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Main.hsc b/XMonad/Main.hsc
index e7fc768..d974a42 100644
--- a/XMonad/Main.hsc
+++ b/XMonad/Main.hsc
@@ -335,7 +335,7 @@ grabKeys = do
kc <- io $ keysymToKeycode dpy sym
-- "If the specified KeySym is not defined for any KeyCode,
-- XKeysymToKeycode() returns zero."
- when (kc /= '\0') $ mapM_ (grab kc . (mask .|.)) =<< extraModifiers
+ when (kc /= 0) $ mapM_ (grab kc . (mask .|.)) =<< extraModifiers
-- | XXX comment me
grabButtons :: X ()