1
0
Fork 0

don't call on_frame on expose events in x11 backend

This commit is contained in:
micah 2020-12-19 15:43:53 -05:00
parent e02854452e
commit 043fe41d05

View file

@ -314,10 +314,6 @@ impl Window {
//// ////
// window // window
//// ////
xcb::EXPOSE => {
handler.on_frame();
}
xcb::CLIENT_MESSAGE => { xcb::CLIENT_MESSAGE => {
let event = unsafe { xcb::cast_event::<xcb::ClientMessageEvent>(&event) }; let event = unsafe { xcb::cast_event::<xcb::ClientMessageEvent>(&event) };