aboutsummaryrefslogtreecommitdiffstats
path: root/Operations.hs
diff options
context:
space:
mode:
authorDon Stewart <dons@cse.unsw.edu.au>2007-05-26 13:14:53 +0200
committerDon Stewart <dons@cse.unsw.edu.au>2007-05-26 13:14:53 +0200
commit50909be1201054ba3b72c5c85ec0e1981e4fdfc6 (patch)
tree13ca01ce7d4182a59d5cda40c626a1bce7604501 /Operations.hs
parent871c2f509deb47a88b826be17d0ec5241493c258 (diff)
downloadxmonad-50909be1201054ba3b72c5c85ec0e1981e4fdfc6.tar.gz
xmonad-50909be1201054ba3b72c5c85ec0e1981e4fdfc6.tar.xz
xmonad-50909be1201054ba3b72c5c85ec0e1981e4fdfc6.zip
HEADS UP: change key binding for swapLeft/Right and IncMaster
The use of arrow keys for swapLeft/Right clash with firefox's back button. Use the more intuitive mod-shift-jk for this. (It's a movement operation, after all). This clashes with IncMaster, so we use mod+comma and mod+period for these (i.e. the keys mod < and mod > , to move windows to and from the master area). While we're here, replace the use of the terms 'left' and 'right' for navigation, in comments and identifiers, with 'up' and 'down' instead. Hence mod-j darcs-hash:20070526111453-9c5c1-3242145ee5b51eb070a7dc3663f0d6cc01671d5c.gz
Diffstat (limited to 'Operations.hs')
-rw-r--r--Operations.hs12
1 files changed, 6 insertions, 6 deletions
diff --git a/Operations.hs b/Operations.hs
index 39a5a35..84994d6 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -43,7 +43,7 @@ manage w = do
selectInput d w $ structureNotifyMask .|. enterWindowMask .|. propertyChangeMask
mapWindow d w
setWindowBorderWidth d w borderWidth
- windows $ W.insertLeft w
+ windows $ W.insertUp w
-- | unmanage. A window no longer exists, remove it from the window
-- list, on whatever workspace it is.
@@ -51,11 +51,11 @@ unmanage :: Window -> X ()
unmanage = windows . W.delete
-- | focus. focus window to the left or right.
-focusLeft, focusRight, swapLeft, swapRight :: X ()
-focusLeft = windows W.focusLeft
-focusRight = windows W.focusRight
-swapLeft = windows W.swapLeft
-swapRight = windows W.swapRight
+focusUp, focusDown, swapUp, swapDown :: X ()
+focusUp = windows W.focusUp
+focusDown = windows W.focusDown
+swapUp = windows W.swapUp
+swapDown = windows W.swapDown
-- | swapMaster. Move the currently focused window into the master frame
swapMaster :: X ()