summaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Config.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Config.hs b/XMonad/Config.hs
index b092af0..87175d9 100644
--- a/XMonad/Config.hs
+++ b/XMonad/Config.hs
@@ -225,7 +225,7 @@ mouseBindings (XConfig {XMonad.modMask = modMask}) = M.fromList
[ ((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.shiftMaster)
+ , ((modMask, button2), windows . (W.shiftMaster .) . W.focusWindow)
-- mod-button3 %! Set the window to floating mode and resize by dragging
, ((modMask, button3), \w -> focus w >> mouseResizeWindow w
>> windows W.shiftMaster)