dock: fix showing in overview with gnome-shell master
Chrome module no longer updates the visibility of objects when the overview is shown or hidden, so we need to do it ourselves.
This commit is contained in:
@@ -82,7 +82,13 @@ Dock.prototype = {
|
||||
AppFavorites.getAppFavorites().connect('changed', Lang.bind(this, this._queueRedisplay));
|
||||
this._tracker.connect('app-state-changed', Lang.bind(this, this._queueRedisplay));
|
||||
|
||||
Main.chrome.addActor(this.actor, { visibleInOverview: false });
|
||||
Main.overview.connect('showing', Lang.bind(this, function() {
|
||||
this.actor.hide();
|
||||
}));
|
||||
Main.overview.connect('hidden', Lang.bind(this, function() {
|
||||
this.actor.show();
|
||||
}));
|
||||
Main.chrome.addActor(this.actor);
|
||||
this.actor.lower_bottom();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user