From a339653a03b5e270cb897145fce7367861369145 Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 21:10:02 +0100 Subject: Deal with not receiving enternotify events --- src/clients/client.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/clients/client.rs') 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 -- cgit v1.2.3