QWaylandXdgOutputV1: Send wl_output.done when changing properties


When changing logical size or position, only the deprecated
zxdg_output_v1.done event is emitted, if the bound resource uses a
version (i.e. < 3) that still mandates it. However, for version 3+
no done event is sent unless another change elsewhere causes a
wl_output.done event.

The "done" event is supposed to do atomic changes, however,
effectively in Qt Wayland Compositor all changes (except during
initialization) are immediately followed by a "done" event.

Change QWaylandOutput to leave QWaylandXdgOutputV1 alone and switch
it the other way round and let the latter emit wl_output.done if
necessary.

Pick-to: 6.8 6.5
Change-Id: Ie37a2241ad950dbd12ecafda055fa6d5712ce05e
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit6cca359305573fe4995e200f3bfdd309e874a1a9
parent14a7af25540a5531f1596cc21fcecdfa58216a54
authorKai Uwe Broulik <kai.uwe.broulik@basyskom.com>
committerKai Uwe Broulik <kai.uwe.broulik@basyskom.com>
commit timeMon, 11 Nov 2024 11:11:53 +0200