on xenial help sign in
comment
commit80ad93373fec9a0a591c54799b40099e6873877f authorNick Dedekind <nick.dedekind@canonical.com> dateTue 15 Mar 2016, 19:38 (11 years ago) parent963cdec
2 files changed+12
qml/Stages/StagedFullscreenPolicy.qml+8 qml/Stages/WindowedFullscreenPolicy.qml+4
qml/Stages/StagedFullscreenPolicy.qml+8
@@ -17,6 +17,14 @@
1717import QtQuick 2.4
1818import Unity.Application 0.1
1919
20+// This component will change the state of the surface based on the surface
21+// state and shell chrome.
22+//
23+// Chrome changed to LowChrome -> server sets client window state to "fullscreen"
24+// Chrome changed to NormalChrome -> server sets client window to "restored" state.
25+// Chrome set and state change to restored -> server RESETS client window state to "fullscreen"
26+// Chrome not set and state change to restored -> client window stays "restored"
27+// Chrome not set and state change to fulscreen -> client window stays "fullscreen"
2028QtObject {
2129 property bool active: true
2230 property QtObject application: null
qml/Stages/WindowedFullscreenPolicy.qml+4
@@ -17,6 +17,10 @@
1717import QtQml 2.2
1818import Unity.Application 0.1
1919
20+// This component will change the state of the surface when the stage is loaded.
21+//
22+// On first surface load; if the surface is set to low chrome & fullscreen, the
23+// state of the window is returned to restored.
2024QtObject {
2125 property bool active: true
2226 property QtObject application: null