summaryrefslogtreecommitdiff
path: root/src/conn_info
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-30 17:22:14 +0100
committertcmal <me@aria.rip>2024-08-30 17:38:59 +0100
commit0178e6d6ee7782748c575cb1d058e82c6c1a9473 (patch)
tree0799483a21547d5675d8e07449d9dafb7c03e08c /src/conn_info
parent8fc827a3b30de16b6adbf80abea3bc224d507268 (diff)
Fix mouse grab not being released sometimes
Diffstat (limited to 'src/conn_info')
-rw-r--r--src/conn_info/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conn_info/mod.rs b/src/conn_info/mod.rs
index 42f3955..e05d719 100644
--- a/src/conn_info/mod.rs
+++ b/src/conn_info/mod.rs
@@ -151,6 +151,7 @@ impl<'a> Connection<'a> {
x::EventMask::SUBSTRUCTURE_REDIRECT
| x::EventMask::SUBSTRUCTURE_NOTIFY
| x::EventMask::BUTTON_PRESS
+ | x::EventMask::BUTTON_RELEASE
| x::EventMask::ENTER_WINDOW
| x::EventMask::FOCUS_CHANGE
| x::EventMask::PROPERTY_CHANGE,