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

Unset Lock key masks when closing menu #104

Closed

Conversation

vkareh
Copy link
Contributor

@vkareh vkareh commented Jun 7, 2018

This addresses an issue that occurs when trying to close the menu using the configured shortcut without modifiers, but Lock keys (NumLock, etc) are enabled.

Fixes #70

@@ -23,12 +23,17 @@ gboolean brisk_menu_window_key_press(BriskMenuWindow *self, GdkEvent *event,
__brisk_unused__ gpointer v)
{
autofree(gchar) *accel_name = NULL;
GdkModifierType lock_maks = GDK_MOD2_MASK | GDK_LOCK_MASK | GDK_MOD5_MASK;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"maks" "masks" ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOL seriously, I'll fix it right away

This addresses an issue that occurs when trying to close the menu using the configured shortcut without modifiers, but Lock keys (NumLock, etc) are enabled.

Fixes solus-project#70
@vkareh vkareh force-pushed the unset-lock-masks-to-close branch from 7d67f1b to 2be1c47 Compare June 7, 2018 17:44
@vkareh
Copy link
Contributor Author

vkareh commented Jun 7, 2018

@ikeydoherty - I updated the current commit

@ranjan-purbey
Copy link

It's a working solution. Why has this not been merged?

@ghost
Copy link

ghost commented Sep 24, 2018

I've just found this solution and it's been working fine so far. If anything happens I'll let you know. Thank you!

@vkareh
Copy link
Contributor Author

vkareh commented Mar 8, 2019

Moving to getsolus/brisk-menu#3

@vkareh vkareh closed this Mar 8, 2019
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

Successfully merging this pull request may close these issues.

[Feature Request] superkey hit to hide the menu
3 participants