@@ -280,11 +280,6 @@ AbstractStage {
280280 onCloseClicked: { if (priv.focusedAppDelegate) { priv.focusedAppDelegate.close(); } }
281281 onMinimizeClicked: { if (priv.focusedAppDelegate) { priv.focusedAppDelegate.minimize(); } }
282282 onRestoreClicked: { if (priv.focusedAppDelegate) { priv.focusedAppDelegate.restoreFromMaximized(); } }
283− onFocusMaximizedApp: {
284− if (priv.foregroundMaximizedAppDelegate) {
285− priv.foregroundMaximizedAppDelegate.focus = true;
286− }
287− }
288283 }
289284
290285 Binding {
@@ -579,15 +574,15 @@ AbstractStage {
579574 // Do not write to those, they will be set by states
580575 property real requestedX: windowedX
581576 property real requestedY: windowedY
582− property int requestedWidth: windowedWidth
583− property int requestedHeight: windowedHeight
577+ property real requestedWidth
578+ property real requestedHeight
584579
585580 // In those are for windowed mode. Those values basically store the window's properties
586581 // 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)
588− property int windowedY: priv.focusedAppDelegate ? priv.focusedAppDelegate.y + units.gu(3) : normalZ * units.gu(3)
589− property int windowedWidth
590− property int windowedHeight
582+ property real windowedX: priv.focusedAppDelegate ? priv.focusedAppDelegate.windowedX + units.gu(3) : (normalZ - 1) * units.gu(3)
583+ property real windowedY: priv.focusedAppDelegate ? priv.focusedAppDelegate.windowedY + units.gu(3) : normalZ * units.gu(3)
584+ property real windowedWidth
585+ property real windowedHeight
591586
592587 Binding {
593588 target: appDelegate