diff options
Diffstat (limited to 'src/clients/client.rs')
-rw-r--r-- | src/clients/client.rs | 10 |
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 |