Diffusion KWin 2e42f4c1a368

[wayland] Fix ShellClient removing borders to give the same window geometry

Authored by davidedmundson on Nov 16 2018, 11:59 AM.

Description

[wayland] Fix ShellClient removing borders to give the same window geometry

Summary:
In the case of going from maximised to fullscreen when decorated the
geometry of the window (as far as kwin is concerned) could remain static
if we have no panels, but we still need a newly resized buffer from the
client.

When checking if we need a new buffer or to perform the geometry change
directly we need to compare the client size without borders.

Test Plan: maximizedToFullScreen unit test

Reviewers: KWin, graesslin

Reviewed By: KWin, graesslin

Subscribers: kwin

Tags: KWin

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