D6418: [XDGV6] manage every ping sent
Marco Martin
noreply at phabricator.kde.org
Wed Jun 28 15:02:25 UTC 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170628/7c8f11d4/attachment.html>
More information about the Kde-frameworks-devel
mailing list