on xenial help sign in
Clarify use of property
ccce83fChristopher Lee
Shell.qml+2−1
@@ -75,9 +75,10 @@ FocusScope {
75 applicationManager.unfocusCurrentApplication();
75 applicationManager.unfocusCurrentApplication();
76 }
76 }
77
77
78− readonly property string currentFocusedAppId: applicationManager.currentFocusedAppId
79 readonly property bool applicationFocused: !!applicationManager.mainStageFocusedApplication
78 readonly property bool applicationFocused: !!applicationManager.mainStageFocusedApplication
80 || !!applicationManager.sideStageFocusedApplication
79 || !!applicationManager.sideStageFocusedApplication
80+ // Used for autopilot testing.
81+ readonly property string currentFocusedAppId: applicationManager.currentFocusedAppId
81
82
82 readonly property bool fullscreenMode: {
83 readonly property bool fullscreenMode: {
83 if (greeter.shown || lockscreen.shown) {
84 if (greeter.shown || lockscreen.shown) {