aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorSpencer Janssen <spencerjanssen@gmail.com>2009-12-16 02:17:00 +0100
committerSpencer Janssen <spencerjanssen@gmail.com>2009-12-16 02:17:00 +0100
commit69d94aaeb7720aa6216bb2d878d509abdcb1fe32 (patch)
tree1c2e50ec11d8b3bee6e7c083bc053c7653f62105 /XMonad
parent1fb531c9a3f7f9e707d2556ece9223d2537ca3d8 (diff)
downloadxmonad-69d94aaeb7720aa6216bb2d878d509abdcb1fe32.tar.gz
xmonad-69d94aaeb7720aa6216bb2d878d509abdcb1fe32.tar.xz
xmonad-69d94aaeb7720aa6216bb2d878d509abdcb1fe32.zip
Update for X11 1.5.0.0
Ignore-this: 669c764c4c0ca516c8bdc1dfa35cd66 darcs-hash:20091216011700-25a6b-bfb30dfcc001e9b872402cd5adcb72af6fb65464.gz
Diffstat (limited to 'XMonad')
-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 ()