expose notes
This commit is contained in:
parent
a1350283c5
commit
614b9881d2
|
@ -7,6 +7,7 @@ fn main() {
|
||||||
|
|
||||||
let window = conn.generate_id();
|
let window = conn.generate_id();
|
||||||
|
|
||||||
|
// TODO event handling for expose/keypress
|
||||||
let values = [
|
let values = [
|
||||||
// ?RGB. First 4 bytes appear to do nothing
|
// ?RGB. First 4 bytes appear to do nothing
|
||||||
(xcb::CW_BACK_PIXEL, 0x00_00_00_00),
|
(xcb::CW_BACK_PIXEL, 0x00_00_00_00),
|
||||||
|
@ -114,6 +115,9 @@ fn main() {
|
||||||
_ => break, // Move on after mouse released
|
_ => break, // Move on after mouse released
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
xcb::EXPOSE => {
|
||||||
|
println!("expose!");
|
||||||
|
}
|
||||||
_ => continue,
|
_ => continue,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue