diff options
Diffstat (limited to 'src/Overlay.cpp')
-rw-r--r-- | src/Overlay.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Overlay.cpp b/src/Overlay.cpp index a7b813f..fae74e0 100644 --- a/src/Overlay.cpp +++ b/src/Overlay.cpp @@ -483,7 +483,7 @@ namespace gsr { ButtonMotionMask, GrabModeAsync, GrabModeAsync, None, default_cursor, CurrentTime); // TODO: This breaks global hotkeys - //XGrabKeyboard(display, window.get_system_handle(), True, GrabModeAsync, GrabModeAsync, CurrentTime); + XGrabKeyboard(display, window.get_system_handle(), True, GrabModeAsync, GrabModeAsync, CurrentTime); XSetInputFocus(display, window.get_system_handle(), RevertToParent, CurrentTime); XFlush(display); @@ -508,7 +508,7 @@ namespace gsr { default_cursor = 0; } - //XUngrabKeyboard(display, CurrentTime); + XUngrabKeyboard(display, CurrentTime); XUngrabPointer(display, CurrentTime); XFlush(display); |