layout: Fix hiding panel for fullscreen apps

Yet another fallout from the sessionMode changes ...

https://bugzilla.gnome.org/show_bug.cgi?id=683487
This commit is contained in:
Florian Müllner 2012-09-06 11:42:30 +02:00
parent 58477282fe
commit 9d0eaa216f

View File

@ -760,7 +760,7 @@ const Chrome = new Lang.Class({
if (!actorData.isToplevel)
continue;
if (this._inOverview || Main.sessionMode.hasWindows)
if (this._inOverview || !Main.sessionMode.hasWindows)
visible = true;
else if (this.findMonitorForActor(actorData.actor).inFullscreen)
visible = false;