D16920: [wayland] Fix ShellClient removing borders to give the same window geometry
David Edmundson <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
davidedmundson created this revision. davidedmundson added a reviewer: KWin. Herald added a project: KWin. Herald added a subscriber: kwin. davidedmundson requested review of this revision. REVISION 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 REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D16920 AFFECTED FILES shell_client.cpp To: davidedmundson, #kwin Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart