Diffusion KWin 16c7650d760f

Fix AbstractClient::sizeForClientSize

Authored by graesslin on Nov 18 2016, 11:32 AM.

Description

Fix AbstractClient::sizeForClientSize

Summary:
The method is supposed to return the AbstractClient's size for a given
client size. That is the size including the window decoration.

The default implementation returned the passed in client size without
adjusting for the decoration. This resulted in ShellClient getting a
wrong size especially when AbstractClient::adjustedClientSize (which
calls sizeForClientSize) was called.

The result of the incorrect size was for example a shrinking of the
window when starting to resize a window.

BUG: 370345
FIXED-IN: 5.8.4

Reviewers: KWin, Plasma on Wayland, broulik, subdiff

Subscribers: plasma-devel, kwin

Tags: Plasma on Wayland, KWin

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

Details

Committed
graesslinNov 18 2016, 11:36 AM
Differential Revision
D3414: Fix AbstractClient::sizeForClientSize
Parents
R108:fb69b791a16f: Ensure that all Effects honour the grab roles correctly
Branches
Unknown
Tags
Unknown