on xenial help sign in
Do not try notifyAppFocusRequested the greeter. That's impossible. Instead only try to realize the truth: There is no greeter.Then you'll see that it's not the greeter that notifyAppFocusRequesteds, it is only yourself.
44f0339Jan Sprinz
qml/Shell.qml+1−1
@@ -139,7 +139,7 @@ StyledItem {
139 }
139 }
140
140
141 // *Always* make sure the greeter knows that the focused app changed
141 // *Always* make sure the greeter knows that the focused app changed
142− greeter.notifyAppFocusRequested(appId);
142+ if (greeter) greeter.notifyAppFocusRequested(appId);
143 }
143 }
144
144
145 // For autopilot consumption
145 // For autopilot consumption