mart created this revision. mart added reviewers: KWin, Plasma. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: kde-frameworks-devel. mart requested review of this revision.
REVISION SUMMARY Implement the virtual desktop protocol discussed in T4457 <https://phabricator.kde.org/T4457> xml protocol, client and server part. The PlasmaVirtualDesktopManagement interface manages the desktops instantiation and layout, each desktop is a PlasmaVirtualDesktop instance which contains unique id, name and position. PlasmaWindow has new events: plasmaVirtualDesktopEntered and plasmaVirtualDesktopLeft when a window enters or leaves a desktop, and desktops as the list of desktops is in. A window can be on any subset of desktops, if the list is empty, it's considered on all desktops. TEST PLAN Autotest REPOSITORY R127 KWayland BRANCH mart/plasmavirtualdesktop REVISION DETAIL https://phabricator.kde.org/D12820 AFFECTED FILES autotests/client/CMakeLists.txt autotests/client/test_plasma_virtual_desktop.cpp src/client/CMakeLists.txt src/client/plasmavirtualdesktop.cpp src/client/plasmavirtualdesktop.h src/client/plasmawindowmanagement.cpp src/client/plasmawindowmanagement.h src/client/protocols/org_kde_plasma_virtual_desktop.xml src/client/protocols/plasma-window-management.xml src/client/registry.cpp src/client/registry.h src/server/CMakeLists.txt src/server/display.cpp src/server/display.h src/server/plasmavirtualdesktop_interface.cpp src/server/plasmavirtualdesktop_interface.h src/server/plasmawindowmanagement_interface.cpp src/server/plasmawindowmanagement_interface.h src/tools/mapping.txt To: mart, #kwin, #plasma Cc: kde-frameworks-devel, michaelh, ngraham, bruns