aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
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
commit7849dea31a6910f0c592095e33ae9fd5e30f024d (patch)
tree4ad9f88914c9db52015bc047bdde7ed48a7665d1 /XMonad
parent0a31b9715f7d0e314adfc41dd80c2e24edb17b49 (diff)
downloadxmonad-7849dea31a6910f0c592095e33ae9fd5e30f024d.tar.gz
xmonad-7849dea31a6910f0c592095e33ae9fd5e30f024d.tar.xz
xmonad-7849dea31a6910f0c592095e33ae9fd5e30f024d.zip
Less refreshing in mouse-2 binding (thanks aavogt)
Ignore-this: 5d61d6fd9a7663d0a7a1c8e2526230f7 darcs-hash:20100503155017-25a6b-af89c8923f42cde6478449da0584c643d5bf0a9c.gz
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)