summaryrefslogtreecommitdiff
path: root/src/keys.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-06-04 21:34:55 +0100
committertcmal <me@aria.rip>2024-06-04 21:34:55 +0100
commit543c0e4c1f4f20b1d987c91d610e869e1f68ecf4 (patch)
treea481cba35a357abbac5c9ac119d595590e370aad /src/keys.rs
parentc50e0ef424975e73d770ad5a4cc873abf2cb6a28 (diff)
scaffolding event handlers
Diffstat (limited to 'src/keys.rs')
-rw-r--r--src/keys.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/keys.rs b/src/keys.rs
new file mode 100644
index 0000000..6cf28a6
--- /dev/null
+++ b/src/keys.rs
@@ -0,0 +1,12 @@
+use crate::{error::*, WM};
+use xcb::x::{KeyPressEvent, MappingNotifyEvent};
+
+impl WM<'_> {
+ pub(crate) fn handle_key_press(&mut self, e: KeyPressEvent) -> Result<()> {
+ todo!()
+ }
+
+ pub(crate) fn handle_mapping_notify(&mut self, e: MappingNotifyEvent) -> Result<()> {
+ todo!()
+ }
+}