Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphics.X11.Xlib.Misc grabKey type signature #27

Closed
tslilc opened this issue Jun 22, 2014 · 1 comment
Closed

Graphics.X11.Xlib.Misc grabKey type signature #27

tslilc opened this issue Jun 22, 2014 · 1 comment

Comments

@tslilc
Copy link

tslilc commented Jun 22, 2014

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 ()
@dmwit
Copy link
Contributor

dmwit commented Jul 4, 2014

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

dmwit added a commit that referenced this issue Jul 4, 2014
@dmwit dmwit closed this as completed Jul 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants