on xenial help sign in
some minor focusing fixes
e306b83Michael Zanetti
qml/Stage/Stage.qml+2−1
@@ -741,7 +741,8 @@ AbstractStage {
741 if (!appRepeater.startingUp) {
741 if (!appRepeater.startingUp) {
742 // a top level window is always the focused one when it first appears, unfocusing
742 // a top level window is always the focused one when it first appears, unfocusing
743 // any preexisting one
743 // any preexisting one
744− focus = true;
744+ spreadItem.highlightedIndex = index;
745+ claimFocus();
745 }
746 }
746
747
747 refreshStage();
748 refreshStage();
qml/Stage/StageMaths.qml+1−1
@@ -26,7 +26,7 @@ QtObject {
26 // of the last focused order.
26 // of the last focused order.
27 readonly property int itemZ: {
27 readonly property int itemZ: {
28 // only shuffle when we've got a main and side stage
28 // only shuffle when we've got a main and side stage
29− if (thisDelegate.isDash && thisDelegate != mainStageDelegate) {
29+ if (thisDelegate.isDash && thisDelegate != mainStageDelegate && leftEdgeDragProgress > 0) {
30 return -1; // Keep the dash behind all other apps for the left edge gesture
30 return -1; // Keep the dash behind all other apps for the left edge gesture
31 }
31 }
32
32