diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-01-16 18:11:06 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-01-16 18:19:56 +0100 |
commit | 4d729164c79f663465939ac404a9fe192cebc004 (patch) | |
tree | f3d24ca00ee8ec223098c19988b7f9ea1112160d /src/api/wayland/events.rs | |
parent | 9ba16e31a9f65712035d28371c647b60f8ee37b1 (diff) | |
download | glutin-4d729164c79f663465939ac404a9fe192cebc004.tar.gz glutin-4d729164c79f663465939ac404a9fe192cebc004.zip |
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.
Diffstat (limited to 'src/api/wayland/events.rs')
0 files changed, 0 insertions, 0 deletions