summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Janssen <spencerjanssen@gmail.com>2010-05-03 17:50:17 +0200
committerSpencer Janssen <spencerjanssen@gmail.com>2010-05-03 17:50:17 +0200
commite79002cf4393d948c6916f73d3edd9cfa20da606 (patch)
tree4ad9f88914c9db52015bc047bdde7ed48a7665d1
parentab53a5afa7d32b656034ee8ec035a6f14b1332b8 (diff)
downloadmetatile-e79002cf4393d948c6916f73d3edd9cfa20da606.tar
metatile-e79002cf4393d948c6916f73d3edd9cfa20da606.zip
Less refreshing in mouse-2 binding (thanks aavogt)
Ignore-this: 5d61d6fd9a7663d0a7a1c8e2526230f7 darcs-hash:20100503155017-25a6b-af89c8923f42cde6478449da0584c643d5bf0a9c
-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)