[wayland] WlShell cache the pre-maximised geometry before going fullscreen

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



In shell surface, maximise mode and fullscreen are exclusive
fullscreen->toplevel should restore the state we had before maximising

Test Plan

testMaximisedToFullscreen unit test

Diff Detail

R108 KWin
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a project: KWin. · View Herald TranscriptNov 16 2018, 11:09 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
davidedmundson requested review of this revision.Nov 16 2018, 11:09 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.