From: Emilio Pozuelo Monfort <[email protected]>

So it uses the same modifier than the rest of the bindings,
for consistency's sake.
---
 desktop-shell/shell.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index cc7d8dc..13a42e1 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -5691,9 +5691,6 @@ shell_add_bindings(struct weston_compositor *ec, struct 
desktop_shell *shell)
        weston_compositor_add_key_binding(ec, KEY_BACKSPACE,
                                          MODIFIER_CTRL | MODIFIER_ALT,
                                          terminate_binding, ec);
-       weston_compositor_add_key_binding(ec, KEY_TAB,
-                                         MODIFIER_ALT,
-                                         alt_tab_binding, shell);
        weston_compositor_add_button_binding(ec, BTN_LEFT, 0,
                                             click_to_activate_binding,
                                             shell);
@@ -5729,6 +5726,8 @@ shell_add_bindings(struct weston_compositor *ec, struct 
desktop_shell *shell)
 
        weston_compositor_add_key_binding(ec, KEY_ESC, mod, switcher_binding,
                                          shell);
+       weston_compositor_add_key_binding(ec, KEY_TAB, mod, alt_tab_binding,
+                                         shell);
        weston_compositor_add_key_binding(ec, KEY_F9, mod, backlight_binding,
                                          ec);
        weston_compositor_add_key_binding(ec, KEY_BRIGHTNESSDOWN, 0,
-- 
1.8.5.2

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to