[Differential] [Request, 94 lines] D2787: Add support for resize only borders on Wayland

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Thu Sep 15 09:48:05 UTC 2016


graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.

REVISION SUMMARY
  This change adds support for resizing outside the window decoration
  (e.g. setting borders to NoSide or None).
  
  To support this a new Toplevel::inputGeometry() -> QRect method is
  added which exposes the geometry adjusted by the margins provided by
  the decoration. This is checked in InputRedirection when finding a
  Toplevel at a given position. The logic for figuring out whether the
  event should go to the decoration or the window already handled the
  situation correctly, so no further changes are needed.
  
  BUG: 364607

REPOSITORY
  rKWIN KWin

BRANCH
  resize-only-borders-wayland

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

AFFECTED FILES
  abstract_client.cpp
  abstract_client.h
  autotests/integration/decoration_input_test.cpp
  input.cpp
  toplevel.cpp
  toplevel.h

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

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


More information about the Plasma-devel mailing list