diff options
author | Daniel d'Andrada <daniel.dandrada@canonical.com> | 2015-08-06 11:37:56 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2015-08-07 10:46:59 +0000 |
commit | 81f259a91b461b9779b66287f8592dbbd910fd18 (patch) | |
tree | 31b7e7e833b76e3ce4332f063473f0687103b27c /src/plugins/platforms/mirclient/qmirclientclipboard.h | |
parent | c01f1c9a5e823078f5e3a3bb3bf50f80ba2ed31e (diff) |
Fix surface resize
If you call QWindowSystemInterface::handleExposeEvent() from the render
thread you won't give a change for the main thread to process further
resize events. In a long resize animation (like dragging a window border
with mouse) the resize events will queue up like crazy, leving
handleSurfaceResize() to deal with a ton of outdated resize events
once the resize animation is finally over.
Furthermore, as there's no synchronicity between the processing of resize
events and the consupmtion of buffers, there's no point in trying to tie
one to the other in any way. So better ignore the actual size information
from a resize event.
Change-Id: I5109245761f19a527d98c3c6f5d24789b633ed14
Reviewed-by: Gerry Boland <gerry.boland@canonical.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/mirclient/qmirclientclipboard.h')
0 files changed, 0 insertions, 0 deletions