graesslin created this revision. graesslin added reviewers: KWin, Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY So far the method only operated on X11 clients. So when the last desktop got removed Wayland clients were still on it. As the auto test showed: this results in a crash. Credits go to code coverage as it showed that area as red, which made me look on it and realize this must be broken. TEST PLAN New test case added REPOSITORY R108 KWin BRANCH virtual-desktop-remove-send-client-5.11 REVISION DETAIL https://phabricator.kde.org/D8082 AFFECTED FILES autotests/integration/CMakeLists.txt autotests/integration/virtual_desktop_test.cpp workspace.cpp To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
