@@ -445,12 +445,18 @@ AbstractStage {
445445 }
446446 }
447447 z: normalZ
448− x: requestedX // may be overridden in some states. Do not directly write to this.
449− y: requestedY // may be overridden in some states. Do not directly write to this.
448+
449+ // requestedX/Y/width/height is what we ask the actual surface to be.
450+ // Do not write to those, they will be set by states
451+ // Also do not write to the appWindow's actual x,y,width,height as they
452+ // will be set by states too.
450453 property real requestedX: 0
451454 property real requestedY: 0
452455 property int requestedWidth: -1
453456 property int requestedHeight: -1
457+
458+ // In those are for windowed mode. Those values basically store the window's properties
459+ // when having a floating window. If you want to move/resize a window in normal mode, this is what you want to write to.
454460 property int windowedX: priv.focusedAppDelegate ? priv.focusedAppDelegate.x + units.gu(3) : (normalZ - 1) * units.gu(3)
455461 property int windowedY: priv.focusedAppDelegate ? priv.focusedAppDelegate.y + units.gu(3) : normalZ * units.gu(3)
456462 property int windowedWidth