diff options
-rw-r--r-- | qxt-mini/qxtglobalshortcut_x11.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qxt-mini/qxtglobalshortcut_x11.cpp b/qxt-mini/qxtglobalshortcut_x11.cpp index e04a782a..a2e47ade 100644 --- a/qxt-mini/qxtglobalshortcut_x11.cpp +++ b/qxt-mini/qxtglobalshortcut_x11.cpp @@ -212,7 +212,7 @@ public: { QxtX11ErrorHandler errorHandler; - XGrabKey(display(), keycode, AllMods, window, True, + XGrabKey(display(), keycode, AnyModifier, window, True, GrabModeAsync, GrabModeAsync); if (errorHandler.error) { @@ -229,7 +229,7 @@ public: if (keybinding::decf(keycode)) { QxtX11ErrorHandler errorHandler; - XUngrabKey(display(), keycode, AllMods, window); + XUngrabKey(display(), keycode, AnyModifier, window); return !errorHandler.error; } return true; |