-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed warning on deprecated
XKeycodeToKeysym()
New X11 headers define `XKeycodeToKeysym()` as deprecated. I looked around and found a solution, which involves `XGetKeyboardMapping()` and `XFree()`: http://stackoverflow.com/a/14408715 I have zero knowledge of X11 so it might be wrong in any way.
- Loading branch information
1 parent
eaaa2b1
commit ad252f1
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ad252f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sverrehu , please evaluate if this follows your code style.
It is my first actual change to the code and I'm unsure on what might suit you or not.
ad252f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tend to prefer camel case over the underscore thing. :)