From 89b5f3f87c8022f2d32c422c3516fca2f1538d69 Mon Sep 17 00:00:00 2001 From: tcmal Date: Tue, 6 Aug 2024 14:39:55 +0100 Subject: Add tags/workspaces --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 122f735..02f83c8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,6 +33,7 @@ use xcb::{ Connection as RawConnection, Event, Extension, Xid, }; +pub mod buttons; pub mod clients; pub mod config; pub mod conn_info; @@ -143,7 +144,7 @@ impl<'a> WM<'a> { return; } - if dbg!(e.r#type()) == dbg!(self.conn.atoms.net_wm_state) { + if e.r#type() == self.conn.atoms.net_wm_state { let x::ClientMessageData::Data32(data) = e.data() else { unreachable!(); }; -- cgit v1.2.3