[kstyle] Implement window moving on Wayland
ClosedPublic

Authored by graesslin on Oct 18 2016, 8:53 AM.

Details

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

Diff Detail

Repository
R113 Oxygen Theme
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 7501.Oct 18 2016, 8:53 AM
graesslin retitled this revision from to [kstyle] Implement window moving on Wayland.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: Plasma, hpereiradacosta.
Restricted Application added a project: Plasma. · View Herald TranscriptOct 18 2016, 8:53 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hpereiradacosta accepted this revision.Oct 18 2016, 9:04 AM
hpereiradacosta edited edge metadata.

Thanks !

This revision is now accepted and ready to land.Oct 18 2016, 9:04 AM
This revision was automatically updated to reflect the committed changes.