mirror of
https://github.com/xmonad/xmonad.git
synced 2025-05-19 08:30:21 -07:00
Update for X11 1.5.0.0
This commit is contained in:
parent
557d3edb7d
commit
a2ba4d8a6c
@ -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 ()
|
||||
|
@ -46,7 +46,7 @@ library
|
||||
build-depends: base < 4 && >=3, containers, directory, process, filepath
|
||||
else
|
||||
build-depends: base < 3
|
||||
build-depends: X11>=1.4.6.1 && < 1.5, mtl, unix
|
||||
build-depends: X11>=1.5.0.0 && < 1.6, mtl, unix
|
||||
|
||||
ghc-options: -funbox-strict-fields -Wall
|
||||
ghc-prof-options: -prof -auto-all
|
||||
|
Loading…
x
Reference in New Issue
Block a user