From 99120a7f1012b5fa1fe4e9944fffb16686611ef5 Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Wed, 16 Dec 2009 02:17:00 +0100 Subject: Update for X11 1.5.0.0 Ignore-this: 669c764c4c0ca516c8bdc1dfa35cd66 darcs-hash:20091216011700-25a6b-bfb30dfcc001e9b872402cd5adcb72af6fb65464 --- XMonad/Main.hsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'XMonad') 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 () -- cgit v1.2.3