davidedmundson created this revision. Restricted Application added projects: Plasma on Wayland, Frameworks. Restricted Application added subscribers: Frameworks, plasma-devel.
REVISION SUMMARY As per existing TODO. A new signal is added on Global to emit so we can process the result whist we still have a valid object. The name is overly explicit to try and logically separate it from QObject::destroyed(). TEST PLAN Updated existing unit test. REPOSITORY R127 KWayland BRANCH mart/xdgforeign REVISION DETAIL https://phabricator.kde.org/D7531 AFFECTED FILES autotests/client/test_wayland_surface.cpp src/client/event_queue.cpp src/server/global.cpp src/server/global.h src/server/surface_interface.cpp To: davidedmundson, #plasma Cc: plasma-devel, #frameworks, leezu, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein, lukas