From f0da08bbb19705da6163c1f10195e260d0bb07ba Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 26 Aug 2013 15:21:23 -0400 Subject: [PATCH] system: Hide the AltSwitcher when we have nothing to show https://bugzilla.gnome.org/show_bug.cgi?id=706852 --- js/ui/status/system.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/status/system.js b/js/ui/status/system.js index 40968abd4..c319b0950 100644 --- a/js/ui/status/system.js +++ b/js/ui/status/system.js @@ -60,6 +60,8 @@ const AltSwitcher = new Lang.Class({ // sync the pointer to make sure they update. global.sync_pointer(); } + + this.actor.visible = (childToShow != null); }, _onDestroy: function() {