graesslin created this revision. graesslin added reviewers: Plasma, hpereiradacosta. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY So far oxygen hard disabled the window moving on Wayland. With this change the required functionality gets added. For that Oxygen creates an additional Seat and a Pointer on it to track all pointer button events on the window. That way the kstyle gets the latest serial which needs to be passed to the move requests. This is not available through QtWayland's native interface, thus Oxygen needs to interact with Wayland directly. When the move is triggered Oxygen gets the ShellSurface for the window and triggers the move on the own Seat object with the tracked serial. TEST PLAN Tested with KWin/Wayland REPOSITORY rOXYGEN Oxygen Theme BRANCH ksytle-move-window REVISION DETAIL https://phabricator.kde.org/D3096 AFFECTED FILES kstyle/oxygenwindowmanager.cpp kstyle/oxygenwindowmanager.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #plasma, hpereiradacosta Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas