system: Hide the AltSwitcher when we have nothing to show

https://bugzilla.gnome.org/show_bug.cgi?id=706852
This commit is contained in:
Jasper St. Pierre 2013-08-26 15:21:23 -04:00
parent fb3f6e2238
commit f0da08bbb1

View File

@ -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() {