diff options
author | tcmal <me@aria.rip> | 2024-06-04 21:34:55 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-06-04 21:34:55 +0100 |
commit | 543c0e4c1f4f20b1d987c91d610e869e1f68ecf4 (patch) | |
tree | a481cba35a357abbac5c9ac119d595590e370aad /src/clients.rs | |
parent | c50e0ef424975e73d770ad5a4cc873abf2cb6a28 (diff) |
scaffolding event handlers
Diffstat (limited to 'src/clients.rs')
-rw-r--r-- | src/clients.rs | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/clients.rs b/src/clients.rs index 70a44fa..6a3d71c 100644 --- a/src/clients.rs +++ b/src/clients.rs @@ -1,9 +1,13 @@ use xcb::{ + x::{ + ConfigureNotifyEvent, ConfigureRequestEvent, DestroyNotifyEvent, MapRequestEvent, + UnmapNotifyEvent, + }, xinerama::{self, ScreenInfo}, Extension, }; -use crate::{Error, Result, WM}; +use crate::{error::*, WM}; #[derive(Debug, Default)] pub struct ClientList(Vec<MonitorInfo>); @@ -101,4 +105,20 @@ impl WM<'_> { Ok(()) } + + pub(crate) fn handle_configure_request(&mut self, e: ConfigureRequestEvent) -> Result<()> { + todo!() + } + pub(crate) fn handle_configure_notify(&mut self, e: ConfigureNotifyEvent) -> Result<()> { + todo!() + } + pub(crate) fn handle_destroy_notify(&mut self, e: DestroyNotifyEvent) -> Result<()> { + todo!() + } + pub(crate) fn handle_map_request(&mut self, e: MapRequestEvent) -> Result<()> { + todo!() + } + pub(crate) fn handle_unmap_notify(&mut self, e: UnmapNotifyEvent) -> Result<()> { + todo!() + } } |