on xenial help sign in
obey chrome changes
258e140Nick Dedekind
qml/Stages/PhoneFullscreenPolicy.qml+1−1
@@ -37,7 +37,7 @@ Item {
37 target: priv.lastSurface
37 target: priv.lastSurface
38 onShellChromeChanged: {
38 onShellChromeChanged: {
39 if (!active || !priv.lastSurface) return;
39 if (!active || !priv.lastSurface) return;
40− if (priv.lastSurface.shellChrome === Mir.LowChrome || priv.lastSurface.state == Mir.FullscreenState) {
40+ if (priv.lastSurface.shellChrome === Mir.LowChrome) {
41 priv.lastSurface.state = Mir.FullscreenState;
41 priv.lastSurface.state = Mir.FullscreenState;
42 } else {
42 } else {
43 priv.lastSurface.state = Mir.RestoredState;
43 priv.lastSurface.state = Mir.RestoredState;