on xenial help sign in
Hide indicators as well as launcher when session becomes inactive
5a3bdf1Michael Terry
qml/Shell.qml+10−5
@@ -393,11 +393,6 @@ BasicShell {
393 panel.indicators.hide()
393 panel.indicators.hide()
394 }
394 }
395 }
395 }
396−
397− Connections {
398− target: SessionManager
399− onActiveChanged: if (!SessionManager.active) launcher.hide()
400− }
401 }
396 }
402
397
403 Rectangle {
398 Rectangle {
@@ -450,6 +445,16 @@ BasicShell {
450 blockInput: height > 0
445 blockInput: height > 0
451 }
446 }
452 }
447 }
448+
449+ Connections {
450+ target: SessionManager
451+ onActiveChanged: {
452+ if (!SessionManager.active) {
453+ launcher.hide()
454+ panel.indicators.hide()
455+ }
456+ }
457+ }
453 }
458 }
454
459
455 InputFilterArea {
460 InputFilterArea {