From 14e708041d32f2a2d3ceaf057181b4ae05ef851a Mon Sep 17 00:00:00 2001 From: tcmal Date: Tue, 4 Jun 2024 23:02:16 +0100 Subject: dont crash on unimplemented focus stuff --- src/focus.rs | 9 ++++++--- 1 file 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(()) } } -- cgit v1.2.3