[gnome-shell] messageTray: Don't exit out early if we have a left timeout
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] messageTray: Don't exit out early if we have a left timeout
- Date: Mon, 2 Jun 2014 21:40:01 +0000 (UTC)
commit 524e2df708e612d1ecdbd7dd3a6be3ac37805b6d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed May 28 15:02:40 2014 -0400
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
js/ui/messageTray.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 891bab2..948a5b8 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -2283,7 +2283,6 @@ const MessageTray = new Lang.Class({
this._notificationLeftTimeoutId = 0;
this._notificationLeftMouseX = -1;
this._notificationLeftMouseY = -1;
- return;
}
if (this._showNotificationMouseX >= 0) {
@@ -2301,6 +2300,7 @@ const MessageTray = new Lang.Class({
return;
}
}
+
this._pointerInNotification = true;
this._updateState();
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]