summaryrefslogtreecommitdiff
path: root/src/clients.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients.rs')
-rw-r--r--src/clients.rs22
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!()
+ }
}