From 4771f80d6f09609bc2866a6683d604a923b28e9c Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 6 Mar 2013 03:30:17 -0500 Subject: [PATCH] messageTray: Remove the tray left timeout when showing a new notification https://bugzilla.gnome.org/show_bug.cgi?id=695659 --- js/ui/messageTray.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index bdb33d9b0..a89048076 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -2539,6 +2539,14 @@ const MessageTray = new Lang.Class({ this._notificationUnfocusedId = 0; } + this._useLongerTrayLeftTimeout = false; + if (this._trayLeftTimeoutId) { + Mainloop.source_remove(this._trayLeftTimeoutId); + this._trayLeftTimeoutId = 0; + this._trayLeftMouseX = -1; + this._trayLeftMouseY = -1; + } + if (this._notificationRemoved) { Tweener.removeTweens(this._notificationWidget); this._notificationWidget.y = this.actor.height;