[gnome-shell] Remove Alt+W/A/S/D hack



commit dc5ceffe4006e872ef7b82b8061cbef73204ece4
Author: Dan Winship <danw gnome org>
Date:   Tue Jul 20 14:22:41 2010 -0400

    Remove Alt+W/A/S/D hack
    
    This was just for use within Xephyr, and gnome-shell doesn't work in
    Xephyr any more anyway.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=624858

 js/ui/altTab.js |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/js/ui/altTab.js b/js/ui/altTab.js
index 6a4ba0c..a72396a 100644
--- a/js/ui/altTab.js
+++ b/js/ui/altTab.js
@@ -221,9 +221,6 @@ AltTabPopup.prototype = {
 
         this._disableHover();
 
-        // The WASD stuff is for debugging in Xephyr, where the arrow
-        // keys aren't mapped correctly
-
         if (keysym == Clutter.grave)
             this._select(this._currentApp, this._nextWindow());
         else if (keysym == Clutter.asciitilde)
@@ -241,22 +238,22 @@ AltTabPopup.prototype = {
                     this._select(this._previousApp());
                 else
                     this._select(this._currentApp, this._previousWindow());
-            } else if (keysym == Clutter.Left || keysym == Clutter.a)
+            } else if (keysym == Clutter.Left)
                 this._select(this._currentApp, this._previousWindow());
-            else if (keysym == Clutter.Right || keysym == Clutter.d)
+            else if (keysym == Clutter.Right)
                 this._select(this._currentApp, this._nextWindow());
-            else if (keysym == Clutter.Up || keysym == Clutter.w)
+            else if (keysym == Clutter.Up)
                 this._select(this._currentApp, null, true);
         } else {
             if (keysym == Clutter.Tab)
                 this._select(this._nextApp());
             else if (keysym == Clutter.ISO_Left_Tab)
                 this._select(this._previousApp());
-            else if (keysym == Clutter.Left || keysym == Clutter.a)
+            else if (keysym == Clutter.Left)
                 this._select(this._previousApp());
-            else if (keysym == Clutter.Right || keysym == Clutter.d)
+            else if (keysym == Clutter.Right)
                 this._select(this._nextApp());
-            else if (keysym == Clutter.Down || keysym == Clutter.s)
+            else if (keysym == Clutter.Down)
                 this._select(this._currentApp, 0);
         }
 



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