winit/src/api/x11
Emilio Cobos Álvarez 4d729164c7 x11: Poll the window until it is really visible
Fixes #697

It seems that `XSync` doesn't really makes the window viewable.

This feels hacky, other option to do it could be using `XIfEvent` or
similar to listen to `MapNotify` events, but we'll have a loop still.

In practice, this lasts between two and thre iterations on my machine,
which is something not noticeable.
2016-01-16 18:19:56 +01:00
..
events.rs Enable grave key on X11 2015-08-17 23:28:34 -04:00
ffi.rs Report the error from x11-rs when failing to open shared libraries 2015-09-20 08:48:53 +02:00
input.rs x11: Prevent leak on XIQueryDevice 2016-01-06 17:44:26 +01:00
mod.rs Add better X error handling 2015-12-30 14:58:07 +01:00
monitor.rs Add better X error handling 2015-12-30 14:58:07 +01:00
window.rs x11: Poll the window until it is really visible 2016-01-16 18:19:56 +01:00
xdisplay.rs Add better X error handling 2015-12-30 14:58:07 +01:00