don't call on_frame on expose events in x11 backend
This commit is contained in:
parent
e02854452e
commit
043fe41d05
|
@ -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) };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue