on xenial help sign in
clear the window controls and title when showing the desktop spread
045ea26Lukáš Tinkl
qml/Stages/DesktopStage.qml+2−1
@@ -180,13 +180,14 @@ AbstractStage {
180 target: PanelState
180 target: PanelState
181 property: "buttonsVisible"
181 property: "buttonsVisible"
182 value: priv.focusedAppDelegate !== null && priv.focusedAppDelegate.maximized // FIXME for Locally integrated menus
182 value: priv.focusedAppDelegate !== null && priv.focusedAppDelegate.maximized // FIXME for Locally integrated menus
183+ && spread.state == ""
183 }
184 }
184
185
185 Binding {
186 Binding {
186 target: PanelState
187 target: PanelState
187 property: "title"
188 property: "title"
188 value: {
189 value: {
189− if (priv.focusedAppDelegate !== null) {
190+ if (priv.focusedAppDelegate !== null && spread.state == "") {
190 if (priv.focusedAppDelegate.maximized)
191 if (priv.focusedAppDelegate.maximized)
191 return priv.focusedAppDelegate.title
192 return priv.focusedAppDelegate.title
192 else
193 else