@@ -372,16 +372,20 @@ AbstractStage {
372 animationsEnabled = (animated === undefined) || animated;
372 animationsEnabled = (animated === undefined) || animated;
373 windowState = WindowStateStorage.WindowStateMaximized;
373 windowState = WindowStateStorage.WindowStateMaximized;
375− function maximizeLeft() {
375+ function maximizeLeft(animated) {
376+ animationsEnabled = (animated === undefined) || animated;
376 windowState = WindowStateStorage.WindowStateMaximizedLeft;
377 windowState = WindowStateStorage.WindowStateMaximizedLeft;
378− function maximizeRight() {
379+ function maximizeRight(animated) {
380+ animationsEnabled = (animated === undefined) || animated;
379 windowState = WindowStateStorage.WindowStateMaximizedRight;
381 windowState = WindowStateStorage.WindowStateMaximizedRight;
381− function maximizeHorizontally() {
383+ function maximizeHorizontally(animated) {
384+ animationsEnabled = (animated === undefined) || animated;
382 windowState = WindowStateStorage.WindowStateMaximizedHorizontally;
385 windowState = WindowStateStorage.WindowStateMaximizedHorizontally;
384− function maximizeVertically() {
387+ function maximizeVertically(animated) {
388+ animationsEnabled = (animated === undefined) || animated;
385 windowState = WindowStateStorage.WindowStateMaximizedVertically;
389 windowState = WindowStateStorage.WindowStateMaximizedVertically;
387 function minimize(animated) {
391 function minimize(animated) {
@@ -485,11 +489,13 @@ AbstractStage {
487 name: "maximizedHorizontally"; when: appDelegate.maximizedHorizontally && !appDelegate.minimized
491 name: "maximizedHorizontally"; when: appDelegate.maximizedHorizontally && !appDelegate.minimized
488− PropertyChanges { target: appDelegate; x: root.leftMargin; requestedWidth: appContainer.width - root.leftMargin }
492+ PropertyChanges { target: appDelegate; x: root.leftMargin }
493+ PropertyChanges { target: decoratedWindow; requestedWidth: appContainer.width - root.leftMargin }
491 name: "maximizedVertically"; when: appDelegate.maximizedVertically && !appDelegate.minimized
496 name: "maximizedVertically"; when: appDelegate.maximizedVertically && !appDelegate.minimized
492− PropertyChanges { target: appDelegate; y: PanelState.panelHeight; requestedHeight: appContainer.height - PanelState.panelHeight }
497+ PropertyChanges { target: appDelegate; y: PanelState.panelHeight }
498+ PropertyChanges { target: decoratedWindow; requestedHeight: appContainer.height - PanelState.panelHeight }
495 name: "minimized"; when: appDelegate.minimized
501 name: "minimized"; when: appDelegate.minimized