You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My only knowledge of the X11 APIs comes from Googling these functions debugging this, but it seems like it might be more robust to use XNextEvent instead of XPeekEvent so that events can't get left in the queue like this?
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
cargo run --example window
(or any app that will stay blocked inwait_events
and use no CPU)Ubuntu 15.04, Gnome 3.14.4, Intel Haswell Graphics
Poking at it with GDB, and the loop includes:
XPeekEvent
finds an event with type 34 ==MappingNotify
.XCheckMaskEvent
andXCheckTypedEvent
return 0, and the event is never processed.My only knowledge of the X11 APIs comes from Googling these functions debugging this, but it seems like it might be more robust to use
XNextEvent
instead ofXPeekEvent
so that events can't get left in the queue like this?The text was updated successfully, but these errors were encountered: