diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2018-09-25 14:12:08 +0200 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2018-09-26 07:44:28 +0000 |
commit | eddf343b3d2bd0c9b19cafc5e055f415a09592c6 (patch) | |
tree | aed91e68a4964f4f17b2282d1ce22c68b087eda2 /tests/auto/compositor/compositor/tst_compositor.cpp | |
parent | 73edf04050b70093ad3dbf664dbdaa42ddf0bfda (diff) |
Client: Fix deadlock for xdg-shell when makeCurrent is called early
If makeCurrent was called before the window was exposed, it would disable
resizing, which would block the window from applying the configure which the
client needs to ack in order to be exposed.
Fixes the issue by locking resizing only if the window is exposed.
Change-Id: I0e6b30bc4b08886fb95d502cac0b735d4bb732d2
Fixes: QTBUG-70646
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'tests/auto/compositor/compositor/tst_compositor.cpp')
0 files changed, 0 insertions, 0 deletions