on xenial help sign in
some minor focusing fixes
commite306b8367abf00051512dc7fe8a104476cc2d6a7 authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 13 Sep 2016, 14:57 (10 years ago) parent14580f2
2 files changed+3−2
qml/Stage/Stage.qml+2−1 qml/Stage/StageMaths.qml+1−1
qml/Stage/Stage.qml+2−1
@@ -741,7 +741,8 @@ AbstractStage {
741741 if (!appRepeater.startingUp) {
742742 // a top level window is always the focused one when it first appears, unfocusing
743743 // any preexisting one
744− focus = true;
744+ spreadItem.highlightedIndex = index;
745+ claimFocus();
745746 }
746747
747748 refreshStage();
qml/Stage/StageMaths.qml+1−1
@@ -26,7 +26,7 @@ QtObject {
2626 // of the last focused order.
2727 readonly property int itemZ: {
2828 // 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) {
3030 return -1; // Keep the dash behind all other apps for the left edge gesture
3131 }
3232