@@ -280,11 +280,6 @@ AbstractStage {
280 onCloseClicked: { if (priv.focusedAppDelegate) { priv.focusedAppDelegate.close(); } }
280 onCloseClicked: { if (priv.focusedAppDelegate) { priv.focusedAppDelegate.close(); } }
281 onMinimizeClicked: { if (priv.focusedAppDelegate) { priv.focusedAppDelegate.minimize(); } }
281 onMinimizeClicked: { if (priv.focusedAppDelegate) { priv.focusedAppDelegate.minimize(); } }
282 onRestoreClicked: { if (priv.focusedAppDelegate) { priv.focusedAppDelegate.restoreFromMaximized(); } }
282 onRestoreClicked: { if (priv.focusedAppDelegate) { priv.focusedAppDelegate.restoreFromMaximized(); } }
283− onFocusMaximizedApp: {
284− if (priv.foregroundMaximizedAppDelegate) {
285− priv.foregroundMaximizedAppDelegate.focus = true;
290 Binding {
285 Binding {
@@ -579,15 +574,15 @@ AbstractStage {
579 // Do not write to those, they will be set by states
574 // Do not write to those, they will be set by states
580 property real requestedX: windowedX
575 property real requestedX: windowedX
581 property real requestedY: windowedY
576 property real requestedY: windowedY
582− property int requestedWidth: windowedWidth
577+ property real requestedWidth
583− property int requestedHeight: windowedHeight
578+ property real requestedHeight
585 // In those are for windowed mode. Those values basically store the window's properties
580 // In those are for windowed mode. Those values basically store the window's properties
586 // when having a floating window. If you want to move/resize a window in normal mode, this is what you want to write to.
581 // when having a floating window. If you want to move/resize a window in normal mode, this is what you want to write to.
587− property int windowedX: priv.focusedAppDelegate ? priv.focusedAppDelegate.x + units.gu(3) : (normalZ - 1) * units.gu(3)
582+ property real windowedX: priv.focusedAppDelegate ? priv.focusedAppDelegate.windowedX + units.gu(3) : (normalZ - 1) * units.gu(3)
588− property int windowedY: priv.focusedAppDelegate ? priv.focusedAppDelegate.y + units.gu(3) : normalZ * units.gu(3)
583+ property real windowedY: priv.focusedAppDelegate ? priv.focusedAppDelegate.windowedY + units.gu(3) : normalZ * units.gu(3)
589− property int windowedWidth
584+ property real windowedWidth
590− property int windowedHeight
585+ property real windowedHeight
592 Binding {
587 Binding {
593 target: appDelegate
588 target: appDelegate