diff --git a/src/platform_impl/linux/x11/mod.rs b/src/platform_impl/linux/x11/mod.rs index 0f8b9b1a..65f0737d 100644 --- a/src/platform_impl/linux/x11/mod.rs +++ b/src/platform_impl/linux/x11/mod.rs @@ -291,11 +291,6 @@ impl EventLoop { ); } - // flush the X11 connection - unsafe { - (wt.xconn.xlib.XFlush)(wt.xconn.display); - } - match control_flow { ControlFlow::Exit => break, ControlFlow::Poll => {