xmonad/X11

Graphics.X11.Xlib.Misc grabKey type signature

tslilc opened this issue · 1 comments

The error is purely cosmetic as both ButtonMask and KeyMask are the same type (Modifier, in turn, CUInt), but the signature is currently

grabKey :: Display -> KeyCode -> ButtonMask -> Window -> Bool -> GrabMode -> GrabMode -> IO ()

where it should probably read

grabKey :: Display -> KeyCode -> KeyMask -> Window -> Bool -> GrabMode -> GrabMode -> IO ()

I agree. Also ungrabKey has the same problem. Expect a fix soon.