Diffusion KWin fb59b054881e

Add support for resize only borders on Wayland

Authored by graesslin on Sep 15 2016, 9:44 AM.

Description

Add support for resize only borders on Wayland

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
FIXED-IN: 5.8.1

Reviewers: KWin, Plasma on Wayland

Subscribers: plasma-devel, kwin

Tags: Plasma on Wayland, KWin

Differential Revision: https://phabricator.kde.org/D2787

Details

Committed
graesslinOct 5 2016, 5:49 AM
Differential Revision
D2787: Add support for resize only borders on Wayland
Parents
R108:fd6e4bb0236b: Destroy DebugConsole on hide of QWindow
Branches
Unknown
Tags
Unknown