diff options
author | tcmal <me@aria.rip> | 2024-08-28 18:14:51 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-09-05 18:04:28 +0100 |
commit | 250808c16b8e1179cd34f8a95c46177f25104d39 (patch) | |
tree | 1cf20f90b1c5cdabcb0af3396ffb831956666d4f /src/buttons.rs | |
parent | cdeab41621f600771fd9a7bb20376260d24f49c7 (diff) |
Fix some issues with splash screens, etc
Diffstat (limited to 'src/buttons.rs')
-rw-r--r-- | src/buttons.rs | 6 |
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(), }); |