[Chrome] redo using ShellGenericContainer
Previously we used a ClutterGroup containing a second ClutterGroup for the non-visibleInOverview actors. Redo it using a single ShellGenericContainer, and use set_skip_paint() to hide the non-overview chrome when the overview is visible. Also fix up the default values for trackActor(). https://bugzilla.gnome.org/show_bug.cgi?id=608667
This commit is contained in:
@ -449,8 +449,8 @@ MessageTray.prototype = {
|
||||
|
||||
Main.chrome.addActor(this.actor, { affectsStruts: false,
|
||||
visibleInOverview: true });
|
||||
Main.chrome.trackActor(this._notificationBin, { affectsStruts: false });
|
||||
Main.chrome.trackActor(this._summaryNotificationBin, { affectsStruts: false });
|
||||
Main.chrome.trackActor(this._notificationBin);
|
||||
Main.chrome.trackActor(this._summaryNotificationBin);
|
||||
|
||||
global.connect('screen-size-changed',
|
||||
Lang.bind(this, this._setSizePosition));
|
||||
|
Reference in New Issue
Block a user