summaryrefslogtreecommitdiff
path: root/src/focus.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-06-05 20:54:29 +0100
committertcmal <me@aria.rip>2024-06-05 20:54:29 +0100
commitc6a963cd43cadff083bfdf4454cdef2d8ddd2070 (patch)
treeed81f4af5eaaf3fd1286f5963104cea7fd8c55da /src/focus.rs
parent8b3f379c3b3216485d11787bcd63a56acd51ee58 (diff)
some cleanup and lints
Diffstat (limited to 'src/focus.rs')
-rw-r--r--src/focus.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/focus.rs b/src/focus.rs
index 5fec53f..ea4f021 100644
--- a/src/focus.rs
+++ b/src/focus.rs
@@ -1,19 +1,19 @@
-use xcb::x::{self, EnterNotifyEvent, FocusInEvent, MotionNotifyEvent};
+use xcb::x::{EnterNotifyEvent, FocusInEvent, MotionNotifyEvent};
use crate::{error::*, WM};
impl WM<'_> {
- pub(crate) fn handle_enter_notify(&self, e: EnterNotifyEvent) -> Result<()> {
+ pub(crate) fn handle_enter_notify(&self, _e: EnterNotifyEvent) -> Result<()> {
// todo!()
Ok(())
}
- pub(crate) fn handle_focus_in(&self, e: FocusInEvent) -> Result<()> {
+ pub(crate) fn handle_focus_in(&self, _e: FocusInEvent) -> Result<()> {
// todo!()
Ok(())
}
- pub(crate) fn handle_motion_notify(&self, e: MotionNotifyEvent) -> Result<()> {
+ pub(crate) fn handle_motion_notify(&self, _e: MotionNotifyEvent) -> Result<()> {
// todo!()
Ok(())
}