messageTray: Don't exit out early if we have a left timeout

Otherwise, we won't mark the pointer as hovering on the notification.

https://bugzilla.gnome.org/show_bug.cgi?id=731118
This commit is contained in:
Jasper St. Pierre 2014-05-28 15:02:40 -04:00
parent 9f887d9a28
commit 524e2df708

View File

@ -2283,7 +2283,6 @@ const MessageTray = new Lang.Class({
this._notificationLeftTimeoutId = 0; this._notificationLeftTimeoutId = 0;
this._notificationLeftMouseX = -1; this._notificationLeftMouseX = -1;
this._notificationLeftMouseY = -1; this._notificationLeftMouseY = -1;
return;
} }
if (this._showNotificationMouseX >= 0) { if (this._showNotificationMouseX >= 0) {
@ -2301,6 +2300,7 @@ const MessageTray = new Lang.Class({
return; return;
} }
} }
this._pointerInNotification = true; this._pointerInNotification = true;
this._updateState(); this._updateState();
} else { } else {