summaryrefslogtreecommitdiff
path: root/src/buttons.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-28 18:14:51 +0100
committertcmal <me@aria.rip>2024-09-05 18:04:28 +0100
commit250808c16b8e1179cd34f8a95c46177f25104d39 (patch)
tree1cf20f90b1c5cdabcb0af3396ffb831956666d4f /src/buttons.rs
parentcdeab41621f600771fd9a7bb20376260d24f49c7 (diff)
Fix some issues with splash screens, etc
Diffstat (limited to 'src/buttons.rs')
-rw-r--r--src/buttons.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buttons.rs b/src/buttons.rs
index cc8cc74..94242be 100644
--- a/src/buttons.rs
+++ b/src/buttons.rs
@@ -168,8 +168,8 @@ pub fn grab(conn: &Connection<'_>, window: Window, focused: bool) {
grab_window: window,
owner_events: false,
event_mask: EventMask::BUTTON_PRESS | EventMask::BUTTON_RELEASE,
- pointer_mode: GrabMode::Sync,
- keyboard_mode: GrabMode::Sync,
+ pointer_mode: GrabMode::Async,
+ keyboard_mode: GrabMode::Async,
confine_to: Window::none(),
cursor: Cursor::none(),
});
@@ -189,7 +189,7 @@ pub fn grab(conn: &Connection<'_>, window: Window, focused: bool) {
owner_events: false,
event_mask: EventMask::BUTTON_PRESS | EventMask::BUTTON_RELEASE,
pointer_mode: GrabMode::Async,
- keyboard_mode: GrabMode::Sync,
+ keyboard_mode: GrabMode::Async,
confine_to: Window::none(),
cursor: Cursor::none(),
});