From 543c0e4c1f4f20b1d987c91d610e869e1f68ecf4 Mon Sep 17 00:00:00 2001 From: tcmal Date: Tue, 4 Jun 2024 21:34:55 +0100 Subject: scaffolding event handlers --- src/focus.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/focus.rs (limited to 'src/focus.rs') 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!() + } +} -- cgit v1.2.3