diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-09-11 19:19:10 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-09-11 19:19:10 +0200 |
commit | cb04c11b2c29d973cdda9b0336024946bb3ca93d (patch) | |
tree | 791c067179a64d08531ada23fb2085695e68b14d /src/Overlay.cpp | |
parent | 234cc3391eba6be67964e5c98beeecd318b8e779 (diff) |
Make checkbox nicer
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); |