From 9d3a109946916b151ee59ac0d46ce2eef3ec32cf Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 4 Dec 2013 11:22:48 -0500 Subject: [PATCH] messageTray: Reword a boolean condition Just so it's a bit easier to understand... --- js/ui/messageTray.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index e93a89c8c..aa93640a6 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -2382,7 +2382,7 @@ const MessageTray = new Lang.Class({ } else if (this._notificationState == State.SHOWN) { let expired = (this._userActiveWhileNotificationShown && this._notificationTimeoutId == 0 && - !(this._notification.urgency == Urgency.CRITICAL) && + this._notification.urgency != Urgency.CRITICAL && !this._notification.focused && !this._pointerInNotification); let mustClose = (this._notificationRemoved || !hasNotifications || expired || this._traySummoned);