Remove LayoutManager::fullscreen-changed
Since we now have global.screen::in-fullscreen-changed, remove the duplicate signal. To prevent ordering problems in connecting to this signal, make inFullscreen a property-function of a new Monitor object rather than a data property we tack on to a Rectangle object. https://bugzilla.gnome.org/show_bug.cgi?id=649748
This commit is contained in:
@ -1657,7 +1657,6 @@ const MessageTray = new Lang.Class({
|
||||
this._desktopCloneState = State.HIDDEN;
|
||||
this._notificationRemoved = false;
|
||||
this._reNotifyAfterHideNotification = null;
|
||||
this._inFullscreen = false;
|
||||
this._desktopClone = null;
|
||||
this._inCtrlAltTab = false;
|
||||
|
||||
@ -1674,7 +1673,7 @@ const MessageTray = new Lang.Class({
|
||||
Main.layoutManager.trackChrome(this._notificationWidget);
|
||||
Main.layoutManager.trackChrome(this._closeButton);
|
||||
|
||||
Main.layoutManager.connect('fullscreen-changed', Lang.bind(this, this._updateState));
|
||||
global.screen.connect('in-fullscreen-changed', Lang.bind(this, this._updateState));
|
||||
Main.layoutManager.connect('hot-corners-changed', Lang.bind(this, this._hotCornersChanged));
|
||||
|
||||
// If the overview shows or hides while we're in
|
||||
|
Reference in New Issue
Block a user