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, }; }