mart created this revision. Restricted Application added projects: Plasma on Wayland, Frameworks. Restricted Application added subscribers: Frameworks, plasma-devel.
REVISION SUMMARY if more ping arrives before a pong, store each of its serial and manage them one by one a new signal, pingTimeout emitted until explicitly stopped TEST PLAN tests still pass, kwin modified to use it on window close and window focus gain works correctly. What is not tested: apps not answering to pings as usually the connection thread will still be running, so something to actually query the gui thread will be needed REPOSITORY R127 KWayland BRANCH mart/xdgv6ping REVISION DETAIL https://phabricator.kde.org/D6418 AFFECTED FILES autotests/client/test_xdg_shell.cpp src/server/xdgshell_interface.cpp src/server/xdgshell_interface.h src/server/xdgshell_interface_p.h src/server/xdgshell_v5_interface.cpp src/server/xdgshell_v6_interface.cpp To: mart, #plasma, davidedmundson, graesslin Cc: plasma-devel, #frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein, lukas