graesslin created this revision. graesslin added a reviewer: Plasma on Wayland. Restricted Application added a subscriber: plasma-devel. Restricted Application added a project: Plasma on Wayland.
REVISION SUMMARY This is similar to what already exists for Surface. With this methods it's possible to get a ShellSurface from an existing QWindow and to perform low level native calls directly for the ShellSurface. Similar calls will also be needed for XdgShellSurface, though the xdg_shell_surface is not yet available through the native interface. TEST PLAN Used in breeze to trigger window moving REPOSITORY rKWAYLAND KWayland BRANCH shell-surface-from-qt REVISION DETAIL https://phabricator.kde.org/D3018 AFFECTED FILES autotests/client/test_wayland_shell.cpp src/client/shell.cpp src/client/shell.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #plasma_on_wayland Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas