[mutter] keybindings: Remove special-case code for reversing automatically



commit 310083aeb248d89b47fca2fdd520934922a70a87
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Oct 1 16:51:45 2014 -0600

    keybindings: Remove special-case code for reversing automatically
    
    Since we now directly expose the reverses bindings directly, we
    don't have to have this special-case in do_choose_window.
    
    More importantly, if the backwards binding is pressed and has the Shift
    key included, this will actually revert it
    
    This doesn't matter for Alt-Tab in gnome-shell, which already replaces
    it with a better Alt-Tab replacement, but it does matter for Alt-Esc,
    which switches between windows directly.

 src/core/keybindings.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 84c6cca..cdc6556 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -2955,10 +2955,6 @@ do_choose_window (MetaDisplay     *display,
   meta_topic (META_DEBUG_KEYBINDINGS,
               "Tab list = %u\n", type);
 
-  /* reverse direction if shift is down */
-  if (event->modifier_state & CLUTTER_SHIFT_MASK)
-    backward = !backward;
-
   window = meta_display_get_tab_next (display,
                                       type,
                                       screen->active_workspace,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]