From 09acd0a3dbd65b5804c4c10f4df8e68eefc860f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Thu, 6 Dec 2018 18:05:39 +0100 Subject: [PATCH] switcherPopup: Always return true when the popup finished early When the switcherPopup was initiated successfully, we return true, otherwise the WindowManager will try to destroy it. Since an early release of the keystroke will also switch to another application and close the switcher just fine, we should return true to indicate success here. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/167 --- js/ui/switcherPopup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/switcherPopup.js b/js/ui/switcherPopup.js index f7ee2e769..f9888d4f5 100644 --- a/js/ui/switcherPopup.js +++ b/js/ui/switcherPopup.js @@ -130,7 +130,7 @@ var SwitcherPopup = GObject.registerClass({ let [x_, y_, mods] = global.get_pointer(); if (!(mods & this._modifierMask)) { this._finish(global.get_current_time()); - return false; + return true; } } else { this._resetNoModsTimeout();