summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-06-04 23:02:16 +0100
committertcmal <me@aria.rip>2024-06-04 23:02:16 +0100
commit14e708041d32f2a2d3ceaf057181b4ae05ef851a (patch)
tree5ca6764ec13a5cf11075a59dcfb6e269fb0f44ab
parente993ab6e41738c50eb64fc644be1bf49ca069f78 (diff)
dont crash on unimplemented focus stuff
-rw-r--r--src/focus.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/focus.rs b/src/focus.rs
index d2b1f10..5fec53f 100644
--- a/src/focus.rs
+++ b/src/focus.rs
@@ -4,14 +4,17 @@ use crate::{error::*, WM};
impl WM<'_> {
pub(crate) fn handle_enter_notify(&self, e: EnterNotifyEvent) -> Result<()> {
- todo!()
+ // todo!()
+ Ok(())
}
pub(crate) fn handle_focus_in(&self, e: FocusInEvent) -> Result<()> {
- todo!()
+ // todo!()
+ Ok(())
}
pub(crate) fn handle_motion_notify(&self, e: MotionNotifyEvent) -> Result<()> {
- todo!()
+ // todo!()
+ Ok(())
}
}