summaryrefslogtreecommitdiff
path: root/src/focus.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-06-04 21:34:55 +0100
committertcmal <me@aria.rip>2024-06-04 21:34:55 +0100
commit543c0e4c1f4f20b1d987c91d610e869e1f68ecf4 (patch)
treea481cba35a357abbac5c9ac119d595590e370aad /src/focus.rs
parentc50e0ef424975e73d770ad5a4cc873abf2cb6a28 (diff)
scaffolding event handlers
Diffstat (limited to 'src/focus.rs')
-rw-r--r--src/focus.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/focus.rs b/src/focus.rs
new file mode 100644
index 0000000..d2b1f10
--- /dev/null
+++ b/src/focus.rs
@@ -0,0 +1,17 @@
+use xcb::x::{self, EnterNotifyEvent, FocusInEvent, MotionNotifyEvent};
+
+use crate::{error::*, WM};
+
+impl WM<'_> {
+ pub(crate) fn handle_enter_notify(&self, e: EnterNotifyEvent) -> Result<()> {
+ todo!()
+ }
+
+ pub(crate) fn handle_focus_in(&self, e: FocusInEvent) -> Result<()> {
+ todo!()
+ }
+
+ pub(crate) fn handle_motion_notify(&self, e: MotionNotifyEvent) -> Result<()> {
+ todo!()
+ }
+}