graesslin created this revision. graesslin added reviewers: KWin, Plasma on Wayland. Restricted Application added subscribers: kwin, plasma-devel. Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY So far KWin did not support the sequence: 1. Create wl_shell 2. Create PlasmaShellSurface 3. Create wl_shell_surface KWin only supported the case that the PlasmaShellSurface is the last thing to get created. This is rather limiting and can be considered a bug. At least we had a QEXPECT_FAIL auto test for this situation. So it was a known issue. This change should make it easier to support the QtWayland changes in Qt 5.8. REPOSITORY R108 KWin BRANCH plasmasurface-before-shell-surface-5.9 REVISION DETAIL https://phabricator.kde.org/D4482 AFFECTED FILES autotests/integration/plasma_surface_test.cpp wayland_server.cpp wayland_server.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma_on_wayland Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, eliasp, sebas, apol