Adapt to fixed Meta functions namespace
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3546>
This commit is contained in:
@ -1130,7 +1130,7 @@ export const MessageTray = GObject.registerClass({
|
||||
this._bannerBin.y = -this._banner.height;
|
||||
this.show();
|
||||
|
||||
Meta.disable_unredirect_for_display(global.display);
|
||||
global.compositor.disable_unredirect();
|
||||
this._updateShowingNotification();
|
||||
|
||||
let [x, y] = global.get_pointer();
|
||||
@ -1267,7 +1267,7 @@ export const MessageTray = GObject.registerClass({
|
||||
|
||||
this._pointerInNotification = false;
|
||||
this._notificationRemoved = false;
|
||||
Meta.enable_unredirect_for_display(global.display);
|
||||
global.compositor.enable_unredirect();
|
||||
|
||||
this._banner.destroy();
|
||||
this._banner = null;
|
||||
|
Reference in New Issue
Block a user