[client] Add methods to get ShellSurface from a QWindow
ClosedPublic

Authored by graesslin on Oct 11 2016, 9:37 AM.

Details

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

Diff Detail

Repository
R127 KWayland
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 7298.Oct 11 2016, 9:37 AM
graesslin retitled this revision from to [client] Add methods to get ShellSurface from a QWindow.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added a reviewer: Plasma on Wayland.
Restricted Application added a project: Plasma on Wayland. · View Herald TranscriptOct 11 2016, 9:37 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sebas accepted this revision.Oct 16 2016, 2:38 PM
sebas added a reviewer: sebas.
sebas added a subscriber: sebas.

Looks good.

This revision is now accepted and ready to land.Oct 16 2016, 2:38 PM
This revision was automatically updated to reflect the committed changes.