summaryrefslogtreecommitdiff
path: root/src/clients/client.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 21:10:02 +0100
committertcmal <me@aria.rip>2024-08-28 21:34:33 +0100
commita339653a03b5e270cb897145fce7367861369145 (patch)
treefd8df8fcae36efe84d5fcd6f9e927ef755aa6e50 /src/clients/client.rs
parent59e2829634b6a96a36c6358253860db4350024b4 (diff)
Deal with not receiving enternotify events
Diffstat (limited to 'src/clients/client.rs')
-rw-r--r--src/clients/client.rs10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/clients/client.rs b/src/clients/client.rs
index 03afc16..bcf8b60 100644
--- a/src/clients/client.rs
+++ b/src/clients/client.rs
@@ -255,15 +255,11 @@ impl Client {
}
/// Set the event mask for this window
- pub fn set_event_mask(
- &self,
- conn: &Connection<'_>,
- event_mask: EventMask,
- ) -> VoidCookieChecked {
- conn.send_request_checked(&ChangeWindowAttributes {
+ pub fn set_event_mask(&self, conn: &Connection<'_>, event_mask: EventMask) {
+ conn.send_request(&ChangeWindowAttributes {
window: self.window(),
value_list: &[Cw::EventMask(event_mask)],
- })
+ });
}
/// Sync the non-geometry related hints with EWMH hints