From: Emilio Pozuelo Monfort <emilio.pozu...@collabora.co.uk>

To avoid conflicts with the new alt+tab.
---
 desktop-shell/shell.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index 3d0836d..cc7d8dc 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -5278,7 +5278,7 @@ switcher_key(struct weston_keyboard_grab *grab,
        struct switcher *switcher = container_of(grab, struct switcher, grab);
        enum wl_keyboard_key_state state = state_w;
 
-       if (key == KEY_TAB && state == WL_KEYBOARD_KEY_STATE_PRESSED)
+       if (key == KEY_ESC && state == WL_KEYBOARD_KEY_STATE_PRESSED)
                switcher_next(switcher);
 }
 
@@ -5727,7 +5727,7 @@ shell_add_bindings(struct weston_compositor *ec, struct 
desktop_shell *shell)
                weston_compositor_add_button_binding(ec, BTN_RIGHT, mod,
                                                     rotate_binding, NULL);
 
-       weston_compositor_add_key_binding(ec, KEY_TAB, mod, switcher_binding,
+       weston_compositor_add_key_binding(ec, KEY_ESC, mod, switcher_binding,
                                          shell);
        weston_compositor_add_key_binding(ec, KEY_F9, mod, backlight_binding,
                                          ec);
-- 
1.8.5.2

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to