summaryrefslogtreecommitdiffstats
path: root/man/xmonad.hs
diff options
context:
space:
mode:
Diffstat (limited to 'man/xmonad.hs')
-rw-r--r--man/xmonad.hs8
1 files changed, 5 insertions, 3 deletions
diff --git a/man/xmonad.hs b/man/xmonad.hs
index d41fa56..845de8b 100644
--- a/man/xmonad.hs
+++ b/man/xmonad.hs
@@ -157,13 +157,15 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
myMouseBindings (XConfig {XMonad.modMask = modMask}) = M.fromList $
-- mod-button1, Set the window to floating mode and move by dragging
- [ ((modMask, button1), (\w -> focus w >> mouseMoveWindow w))
+ [ ((modMask, button1), (\w -> focus w >> mouseMoveWindow w
+ >> windows W.shiftMaster))
-- mod-button2, Raise the window to the top of the stack
- , ((modMask, button2), (\w -> focus w >> windows W.swapMaster))
+ , ((modMask, button2), (\w -> focus w >> windows W.shiftMaster))
-- mod-button3, Set the window to floating mode and resize by dragging
- , ((modMask, button3), (\w -> focus w >> mouseResizeWindow w))
+ , ((modMask, button3), (\w -> focus w >> mouseResizeWindow w
+ >> windows W.shiftMaster))
-- you may also bind events to the mouse scroll wheel (button4 and button5)
]