@@ -511,10 +511,7 @@ AbstractStage {
511 readonly property alias resizeArea: resizeArea
511 readonly property alias resizeArea: resizeArea
513 function claimFocus() {
513 function claimFocus() {
514−// if (spread.state == "altTab") {
517−// appDelegate.restore();
514+ appDelegate.focus = true;
519 Connections {
516 Connections {
520 target: model.surface
517 target: model.surface
@@ -772,6 +769,7 @@ AbstractStage {
772 height: stagedRightEdgeMaths.animatedHeight
769 height: stagedRightEdgeMaths.animatedHeight
773 requestedWidth: decoratedWindow.oldRequestedWidth
770 requestedWidth: decoratedWindow.oldRequestedWidth
774 requestedHeight: decoratedWindow.oldRequestedHeight
771 requestedHeight: decoratedWindow.oldRequestedHeight
772+ visible: stagedRightEdgeMaths.itemVisible
776 PropertyChanges {
774 PropertyChanges {
777 target: decoratedWindow;
775 target: decoratedWindow;
@@ -1124,7 +1122,6 @@ AbstractStage {
1124 height: spreadItem.appInfoHeight
1122 height: spreadItem.appInfoHeight
1125 opacity: 0
1123 opacity: 0
1126 visible: opacity > 0
1124 visible: opacity > 0
1127− Behavior on opacity { UbuntuNumberAnimation { duration: priv.animationDuration } }