diff options
author | Jason Creighton <jcreigh@gmail.com> | 2007-05-04 03:50:43 +0200 |
---|---|---|
committer | Jason Creighton <jcreigh@gmail.com> | 2007-05-04 03:50:43 +0200 |
commit | 4022b31fb6bbf4e861e118e3339bda3a09849bcc (patch) | |
tree | a18661df6e1f9e919d46e70683afd44160b3a6b6 | |
parent | 66809a8ad63c72eb14b523d80453903a9440c084 (diff) | |
download | metatile-4022b31fb6bbf4e861e118e3339bda3a09849bcc.tar metatile-4022b31fb6bbf4e861e118e3339bda3a09849bcc.zip |
use anyKey constant instead of magic number
darcs-hash:20070504015043-b9aa7-a9e8a52b54a21ba00fba0b13a3ec1cc150b1aae5
-rw-r--r-- | Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -99,7 +99,7 @@ scan dpy rootw = do -- | Grab the keys back grabKeys :: Display -> Window -> IO () grabKeys dpy rootw = do - ungrabKey dpy '\0' {-AnyKey-} anyModifier rootw + ungrabKey dpy anyKey anyModifier rootw flip mapM_ (M.keys keys) $ \(mask,sym) -> do kc <- keysymToKeycode dpy sym -- "If the specified KeySym is not defined for any KeyCode, |