switcherPopup: Add support for modifier-less keybinding navigation

Desktop / GNOME / GNOME Shell - Rui Matos [gmail.com] - 22 August 2017 04:50 EDT

This drops the requirement that SwitcherPopups need a modifier based keybinding to work.

The existing behavior for modifier based keybindings is kept but if the popup is triggered from a no modifiers keybinding, instead of finishing when the modifier is released, we use a timer that automatically finishes the popup. The timer is reset on every key release to allow navigation to happen.

https://bugzilla.gnome.org/show_bug.cgi?id=783550

c899453 switcherPopup: Add support for modifier-less keybinding navigation
js/ui/switcherPopup.js | 42 +++++++++++++++++++++++++++++++++---------
1 file changed, 33 insertions(+), 9 deletions(-)

Upstream: git.gnome.org


  • Share