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.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Rahm/Desktop/Keys.hs b/src/Rahm/Desktop/Keys.hs
index e0b100a..3f3427d 100644
--- a/src/Rahm/Desktop/Keys.hs
+++ b/src/Rahm/Desktop/Keys.hs
@@ -834,8 +834,9 @@ keymap = runKeys $ do
shiftMod $
doc "Sink the current window into the tiling." $
- withFocused $
- windows . W.sink
+ withFocused $ \w -> do
+ unpinWindow w
+ (windows . W.sink) w
altMod $
doc "Spawn a floating terminal" $