[gnome-shell-extensions] alternateTab: Fix Escape not dismissing popup
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] alternateTab: Fix Escape not dismissing popup
- Date: Sat, 27 Sep 2014 14:16:45 +0000 (UTC)
commit 0dd5b5251a7c1cd2f13c7baf18da9b08755d3ec6
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Sep 27 11:56:00 2014 +0200
alternateTab: Fix Escape not dismissing popup
Since shell commit dd85670f8b25, the handler got a return value to
determine whether Escape should be handled automatically; we do
want this for the window switcher, so add an appropriate return
value to restore the expected behavior.
https://bugzilla.gnome.org/show_bug.cgi?id=737457
extensions/alternate-tab/extension.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/extensions/alternate-tab/extension.js b/extensions/alternate-tab/extension.js
index cecfc48..0a11970 100644
--- a/extensions/alternate-tab/extension.js
+++ b/extensions/alternate-tab/extension.js
@@ -44,7 +44,11 @@ function enable() {
this._select(this._previous());
else if (keysym == Clutter.Right)
this._select(this._next());
+ else
+ return Clutter.EVENT_PROPAGATE;
}
+
+ return Clutter.EVENT_STOP;
};
setKeybinding('switch-applications', Lang.bind(Main.wm, Main.wm._startWindowSwitcher));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]