From 614b9881d2eed373c82b929282e21acf90bc4e40 Mon Sep 17 00:00:00 2001 From: expectocode Date: Sun, 25 Nov 2018 23:08:21 +0000 Subject: [PATCH] expose notes --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.rs b/src/main.rs index f8385d5..e78df8d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,6 +7,7 @@ fn main() { let window = conn.generate_id(); + // TODO event handling for expose/keypress let values = [ // ?RGB. First 4 bytes appear to do nothing (xcb::CW_BACK_PIXEL, 0x00_00_00_00), @@ -114,6 +115,9 @@ fn main() { _ => break, // Move on after mouse released } } + xcb::EXPOSE => { + println!("expose!"); + } _ => continue, }; }