@@ -50,14 +50,14 @@ AbstractStage {
5050 // used by the snap windows (edge maximize) feature
5151 readonly property alias previewRectangle: fakeRectangle
5252
53− mainApp: priv.focusedAppDelegate ? priv.focusedAppDelegate.application : null
53+ property var mainApp: priv.focusedAppDelegate ? priv.focusedAppDelegate.application : null
5454
5555 // application windows never rotate independently
56− mainAppWindowOrientationAngle: shellOrientationAngle
56+ property int mainAppWindowOrientationAngle: shellOrientationAngle
5757
58− orientationChangesEnabled: true
58+ property bool orientationChangesEnabled: true
5959
60− supportedOrientations: {
60+ property int supportedOrientations: {
6161 if (mainApp) {
6262 switch (mode) {
6363 case "staged":
@@ -83,10 +83,18 @@ AbstractStage {
8383
8484 onAltTabPressedChanged: priv.goneToSpread = altTabPressed
8585
86− itemConfiningMouseCursor: !spreadShown && priv.focusedAppDelegate && priv.focusedAppDelegate.surface &&
86+ property Item itemConfiningMouseCursor: !spreadShown && priv.focusedAppDelegate && priv.focusedAppDelegate.surface &&
8787 priv.focusedAppDelegate.surface.confinesMousePointer ?
8888 priv.focusedAppDelegate.clientAreaItem : null;
8989
90+ signal itemSnapshotRequested(Item item)
91+
92+ GlobalShortcut {
93+ id: closeFocusedShortcut
94+ shortcut: Qt.AltModifier|Qt.Key_F4
95+ onTriggered: closeFocusedDelegate()
96+ }
97+
9098 GlobalShortcut {
9199 id: showSpreadShortcut
92100 shortcut: Qt.MetaModifier|Qt.Key_W