diff options
author | David Edmundson <davidedmundson@kde.org> | 2024-02-09 13:03:18 +0000 |
---|---|---|
committer | David Edmundson <davidedmundson@kde.org> | 2024-05-25 16:37:30 +0100 |
commit | bbb989df5ece25d2ed8e25750aee60a7b67492e4 (patch) | |
tree | 6eec88febcd2c46b1f50c402768ae3721329ea20 /examples/wayland/wayland.pro | |
parent | e03613524fc9f6be5c4cd7e9bdb00bc09c7f1e0b (diff) |
client: Avoid roundtrip to handle xdgoutput race condition
The original bug was that we could get a surface enter event before the
xdg output was fully ready, where we had a QPlatformScreen but no
QScreen announced.
A solution with a roundtrip was added, which works, but roundtrips cause
other problems processing messages out of order and inhibts a move to
synchronous delivery.
As an alternative fix we move the problem from QWaylandWindow to
QWaylandSurface and have that filter out not-ready QScreens.
The best output is then re-evaluated whenever a screen is added.
Change-Id: Iabc78917112aa8c58cad8e128c5bb3030f8c8f65
Reviewed-by: David Redondo <qt@david-redondo.de>
Diffstat (limited to 'examples/wayland/wayland.pro')
0 files changed, 0 insertions, 0 deletions