From 5ec9f1550054b20ed1e5021e90f21f4d17ad813b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 10 Apr 2015 17:29:17 +0200 Subject: [PATCH] messageTray: Make notification banners unfocusable Unlike entries in the calendar's message list, banners are not subject to the normal keynav chain, and making the banner actor itself unfocusable allows for the focus to be moved to the action area when expanded. https://bugzilla.gnome.org/show_bug.cgi?id=747205 --- js/ui/messageTray.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 42c559fbb..7d2c3c836 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -508,6 +508,7 @@ const NotificationBanner = new Lang.Class({ _init: function(notification) { this.parent(notification); + this.actor.can_focus = false; this.actor.add_style_class_name('notification-banner'); this._buttonBox = null;