From a0f1ac87e9063c5e85941d1118e04029ab7c4cba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 24 Jan 2019 16:23:39 +0100 Subject: [PATCH] messageTray: Fix sloppy backport Commit 8111286463b8 was cherry-picked without accounting for the screen/display API difference between 3-30 and 3-28. --- js/ui/messageTray.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 3fdaaac86..421848b2a 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1320,7 +1320,7 @@ var MessageTray = new Lang.Class({ this._bannerBin.y = -this._banner.actor.height; this.actor.show(); - Meta.disable_unredirect_for_display(global.display); + Meta.disable_unredirect_for_screen(global.screen); this._updateShowingNotification(); let [x, y, mods] = global.get_pointer(); @@ -1458,7 +1458,7 @@ var MessageTray = new Lang.Class({ this._pointerInNotification = false; this._notificationRemoved = false; - Meta.enable_unredirect_for_display(global.display); + Meta.enable_unredirect_for_screen(global.screen); this._banner.actor.destroy(); this._banner = null;