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

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

Details

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

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a project: KWin. · View Herald TranscriptNov 16 2018, 11:08 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
davidedmundson requested review of this revision.Nov 16 2018, 11:08 AM
graesslin accepted this revision.Nov 16 2018, 11:57 AM
This revision is now accepted and ready to land.Nov 16 2018, 11:57 AM
This revision was automatically updated to reflect the committed changes.