chrome: Make affectsStruts default to false

Since we only want it to be true for the panel, and nothing else.

https://bugzilla.gnome.org/show_bug.cgi?id=655813
This commit is contained in:
Dan Winship
2011-07-21 10:18:15 -04:00
parent dbeab0ef87
commit a376cd1610
5 changed files with 16 additions and 20 deletions

View File

@ -941,11 +941,9 @@ Panel.prototype = {
Main.statusIconDispatcher.connect('status-icon-added', Lang.bind(this, this._onTrayIconAdded));
Main.statusIconDispatcher.connect('status-icon-removed', Lang.bind(this, this._onTrayIconRemoved));
Main.chrome.addActor(this.actor);
Main.chrome.addActor(this._leftCorner.actor, { affectsStruts: false,
affectsInputRegion: false });
Main.chrome.addActor(this._rightCorner.actor, { affectsStruts: false,
affectsInputRegion: false });
Main.chrome.addActor(this.actor, { affectsStruts: true });
Main.chrome.addActor(this._leftCorner.actor, { affectsInputRegion: false });
Main.chrome.addActor(this._rightCorner.actor, { affectsInputRegion: false });
Main.ctrlAltTabManager.addGroup(this.actor, _("Top Bar"), 'start-here',
{ sortGroup: CtrlAltTab.SortGroup.TOP });