diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-04-24 03:03:52 +0200 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-04-24 03:03:52 +0200 |
commit | 2d421c8ecf2e5a8c813dccfa78da6515d7d76784 (patch) | |
tree | 24a35e5fca5812f289412516c119e2404802569f | |
parent | 5328acb32927792c216b19f1fe3ee32e2a31c442 (diff) | |
download | metatile-2d421c8ecf2e5a8c813dccfa78da6515d7d76784.tar metatile-2d421c8ecf2e5a8c813dccfa78da6515d7d76784.zip |
Clear numlock bit
darcs-hash:20070424010352-a5988-411c7bc6d019f772b412e230cfc19aa06041ca7c
-rw-r--r-- | Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -128,7 +128,7 @@ handle (KeyEvent {ev_event_type = t, ev_state = m, ev_keycode = code}) | t == keyPress = withDisplay $ \dpy -> do s <- io $ keycodeToKeysym dpy code 0 - whenJust (M.lookup (m,s) keys) id + whenJust (M.lookup (complement numlockMask .&. m,s) keys) id -- manage a new window handle (MapRequestEvent {ev_window = w}) = withDisplay $ \dpy -> do |