D14991: Track state acked by XDG Client
David Edmundson
noreply at phabricator.kde.org
Wed Aug 22 10:53:23 BST 2018
davidedmundson created this revision.
davidedmundson added a reviewer: KWin.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
davidedmundson requested review of this revision.
REVISION SUMMARY
In XDGShell we send configure requests with a serial number which at
some point in the future will be acknowledged by the client.
The one piece of useful information is the state the client has
acknowledged it is in at the time of a surface commit.
XDGShell code already tracks pending configure requests and when they
are acked, but currently purely by number.
This patch adds tracks the state sent with each configure request,
and therefore what state a client has acked.
End goal is to make maximise/fullscreen effects frame perfect
TEST PLAN
Relevant unit test
REPOSITORY
R127 KWayland
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D14991
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_stable_interface.cpp
src/server/xdgshell_v5_interface.cpp
src/server/xdgshell_v6_interface.cpp
To: davidedmundson, #kwin
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180822/1521ad96/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list