Fix race condition in the non-GL case
authorPaul Olav Tvete <paul.tvete@nokia.com>
Mon, 14 Mar 2011 15:55:19 +0000 (16:55 +0100)
committerPaul Olav Tvete <paul.tvete@nokia.com>
Mon, 14 Mar 2011 15:55:19 +0000 (16:55 +0100)
commit82eb2fd606c6f0feff2d9b0e66b703114327c8e3
tree83bbf5ea088e8d887bd49b9bd998a4afa7b7f84e
parentaf7a3362e844c07a2ccec6a6bd3410f1cca25748
Fix race condition in the non-GL case

Make sure to also flush output when waiting for an ack from the
compositor, in case we haven't sent the frame request yet.

Reviewed-by: Jørgen
src/plugins/platforms/wayland/qwaylanddisplay.cpp
src/plugins/platforms/wayland/qwaylanddisplay.h
src/plugins/platforms/wayland/qwaylandshmsurface.cpp