diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2011-04-11 12:48:47 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2011-04-11 12:55:17 (GMT) |
commit | 0108e888480e47e65d82d94e10a7c7c910e42d79 (patch) | |
tree | 7e467eb569aa9c2da2c61879645c82e66e2c7d0e /src/plugins/platforms/xcb/qglxintegration.cpp | |
parent | fb297b316b1acfda133ce6d5b46c89eaf8475199 (diff) | |
download | Qt-0108e888480e47e65d82d94e10a7c7c910e42d79.zip Qt-0108e888480e47e65d82d94e10a7c7c910e42d79.tar.gz Qt-0108e888480e47e65d82d94e10a7c7c910e42d79.tar.bz2 |
Make readEvents() non-blocking
Another event handler could empty the Wayland socket after the
socket notifier has triggered, but before the signal is delivered.
Since wl_display_iterate is blocking, we have to test whether there
is data available to avoid freezing the whole application.
Reviewed-by: Samuel
Diffstat (limited to 'src/plugins/platforms/xcb/qglxintegration.cpp')
0 files changed, 0 insertions, 0 deletions