[Differential] [Request, 2,459 lines] D1506: [server] Add support for xdg-shell
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Thu Apr 28 07:47:44 UTC 2016
graesslin created this revision.
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
This change introduces support for the unstable xdg-shell interface in
the server. The implementation is based on version 5 of the unstable
interface. This is the version used by toolkits like e.g. GTK.
There is also a version 6 of the protocol under development which is
incompatible. This makes it difficult to implement it in a backward
compatible way.
Because of that the implementation is a little bit different to other
interfaces:
- there is no client implementation
- the interface version number is encoded in the class names
The idea is that once v6 stabilized we implement that and call it
XdgShell. At the same time this class will be deprecated, but users of
the library can still make use of it.
As we can expect many areas to be the same between v5 and v6 and also
with WlShell code of the Private class is split out into a templated
class which implements the same aspects in a generic way.
To not need a copy of the protocol, KWayland depends on the new
wayland-protocols.
An implementation of client side is part of the auto tests, though.
REPOSITORY
rKWAYLAND KWayland
BRANCH
xdg-shell
REVISION DETAIL
https://phabricator.kde.org/D1506
AFFECTED FILES
CMakeLists.txt
autotests/server/CMakeLists.txt
autotests/server/test_xdg_shell_v5.cpp
autotests/server/xdg_shell_v5.cpp
autotests/server/xdg_shell_v5.h
src/server/CMakeLists.txt
src/server/display.cpp
src/server/display.h
src/server/generic_shell_surface_p.h
src/server/shell_interface.cpp
src/server/shell_interface.h
src/server/xdg_shell_v5_interface.cpp
src/server/xdg_shell_v5_interface.h
src/tools/mapping.txt
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, Plasma
Cc: plasma-devel, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160428/4de794b7/attachment-0001.html>
More information about the Plasma-devel
mailing list