[Differential] [Request, 200 lines] D3019: [kstyle] Implement window moving on Wayland

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Tue Oct 11 09:47:05 UTC 2016


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
  So far breeze hard disabled the window moving on Wayland. With this
  change the required functionality gets added.
  
  For that Breeze 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 Breeze needs to
  interact with Wayland directly.
  
  When the move is triggered Breeze gets the ShellSurface for the window
  and triggers the move on the own Seat object with the tracked serial.

TEST PLAN
  Tested with KWin and Weston, move triggered in both.

REPOSITORY
  rBREEZE Breeze

BRANCH
  kstyle-move-wayland

REVISION DETAIL
  https://phabricator.kde.org/D3019

AFFECTED FILES
  kstyle/breezewindowmanager.cpp
  kstyle/breezewindowmanager.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #plasma_on_wayland
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161011/3eaa4330/attachment.html>


More information about the Plasma-devel mailing list