aboutsummaryrefslogtreecommitdiff
path: root/src/Rahm/Desktop/Keys.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Rahm/Desktop/Keys.hs')
-rw-r--r--src/Rahm/Desktop/Keys.hs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Rahm/Desktop/Keys.hs b/src/Rahm/Desktop/Keys.hs
index 5aad26d..7bceeef 100644
--- a/src/Rahm/Desktop/Keys.hs
+++ b/src/Rahm/Desktop/Keys.hs
@@ -492,7 +492,9 @@ bindings = do
shiftMod $
doc "Swap the current window with the next one down in the stack" $
- windows W.swapDown
+ withFocused $ \w ->
+ withWindowsUnpinned [w] $
+ windows W.swapDownOrMirror
controlMod $
doc
@@ -522,7 +524,9 @@ bindings = do
shiftMod $
doc "Swap the currently focused window with the next window in the stack." $
- windows W.swapUp
+ withFocused $ \w ->
+ withWindowsUnpinned [w] $
+ windows W.swapUpOrMirror
controlMod $
doc