@@ -50,14 +50,14 @@ AbstractStage {
50 // used by the snap windows (edge maximize) feature
50 // used by the snap windows (edge maximize) feature
51 readonly property alias previewRectangle: fakeRectangle
51 readonly property alias previewRectangle: fakeRectangle
53− mainApp: priv.focusedAppDelegate ? priv.focusedAppDelegate.application : null
53+ property var mainApp: priv.focusedAppDelegate ? priv.focusedAppDelegate.application : null
55 // application windows never rotate independently
55 // application windows never rotate independently
56− mainAppWindowOrientationAngle: shellOrientationAngle
56+ property int mainAppWindowOrientationAngle: shellOrientationAngle
58− orientationChangesEnabled: true
58+ property bool orientationChangesEnabled: true
60− supportedOrientations: {
60+ property int supportedOrientations: {
61 if (mainApp) {
61 if (mainApp) {
62 switch (mode) {
62 switch (mode) {
63 case "staged":
63 case "staged":
@@ -83,10 +83,18 @@ AbstractStage {
84 onAltTabPressedChanged: priv.goneToSpread = altTabPressed
84 onAltTabPressedChanged: priv.goneToSpread = altTabPressed
86− itemConfiningMouseCursor: !spreadShown && priv.focusedAppDelegate && priv.focusedAppDelegate.surface &&
86+ property Item itemConfiningMouseCursor: !spreadShown && priv.focusedAppDelegate && priv.focusedAppDelegate.surface &&
87 priv.focusedAppDelegate.surface.confinesMousePointer ?
87 priv.focusedAppDelegate.surface.confinesMousePointer ?
88 priv.focusedAppDelegate.clientAreaItem : null;
88 priv.focusedAppDelegate.clientAreaItem : null;
90+ signal itemSnapshotRequested(Item item)
93+ id: closeFocusedShortcut
94+ shortcut: Qt.AltModifier|Qt.Key_F4
95+ onTriggered: closeFocusedDelegate()
90 GlobalShortcut {
98 GlobalShortcut {
91 id: showSpreadShortcut
99 id: showSpreadShortcut
92 shortcut: Qt.MetaModifier|Qt.Key_W
100 shortcut: Qt.MetaModifier|Qt.Key_W