expose notes

lines
expectocode 2018-11-25 23:08:21 +00:00
parent a1350283c5
commit 614b9881d2
1 changed files with 4 additions and 0 deletions

View File

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