-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error thrown when holding down Shift and Super #155
Comments
Thanks for the bug report. Java-GI throws an exception when an undefined flag is set. That turns out to be a bit too strict. I will change it, so that unexpected values are logged and ignored. However, this is strictly incorrect in case of GdkModifierType, according to its documentation: Note that GDK may add internal values to events which include values outside of this enumeration. Your code should preserve and ignore them. You can use GDK_MODIFIER_MASK to remove all private values. So Java-GI can't just silently ignore the internal flags, because we're supposed to preserve them. To do that, I will add all possible "internal" flags to GdkModifierType, labeled |
I published release 0.11.1-SNAPSHOT with the fix. Can you please confirm if it works for you? For snapshot releases, add |
This worked for me, thanks! |
…ernal GdkModifierType flags (fixes #155)
My program is throwing an error whenever the user holds down Super and Shift at the same time:
The text was updated successfully, but these errors were encountered: