From 4022b31fb6bbf4e861e118e3339bda3a09849bcc Mon Sep 17 00:00:00 2001 From: Jason Creighton Date: Fri, 4 May 2007 03:50:43 +0200 Subject: use anyKey constant instead of magic number darcs-hash:20070504015043-b9aa7-a9e8a52b54a21ba00fba0b13a3ec1cc150b1aae5 --- Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main.hs b/Main.hs index 81e286c..33812ef 100644 --- a/Main.hs +++ b/Main.hs @@ -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, -- cgit v1.2.3