summaryrefslogtreecommitdiffstats
path: root/XMonad/Config.hs
diff options
context:
space:
mode:
authorSpencer Janssen <spencerjanssen@gmail.com>2010-02-14 03:57:50 +0100
committerSpencer Janssen <spencerjanssen@gmail.com>2010-02-14 03:57:50 +0100
commite68fe01a84582d5e5a94d2eab8c914484ae81dd7 (patch)
tree7cc0b7ede3b1efed764eda7eaa5e778b9c7350c7 /XMonad/Config.hs
parentb51abc61705e6ec421c68e2f86b97a78b42f5c1e (diff)
downloadmetatile-e68fe01a84582d5e5a94d2eab8c914484ae81dd7.tar
metatile-e68fe01a84582d5e5a94d2eab8c914484ae81dd7.zip
Various clean-ups suggested by HLint
Ignore-this: ccaa6e774f2f8169e6083eddcffe31b6 darcs-hash:20100214025750-25a6b-c15d6ca0ac2f1dc7d3da2f7b311584df7f96dffd
Diffstat (limited to 'XMonad/Config.hs')
-rw-r--r--XMonad/Config.hs14
1 files changed, 7 insertions, 7 deletions
diff --git a/XMonad/Config.hs b/XMonad/Config.hs
index abc9bb8..b092af0 100644
--- a/XMonad/Config.hs
+++ b/XMonad/Config.hs
@@ -220,15 +220,15 @@ keys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
-- | Mouse bindings: default actions bound to mouse events
--
mouseBindings :: XConfig Layout -> M.Map (KeyMask, Button) (Window -> X ())
-mouseBindings (XConfig {XMonad.modMask = modMask}) = M.fromList $
+mouseBindings (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
- >> windows W.shiftMaster))
+ [ ((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), \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
- >> windows W.shiftMaster))
+ , ((modMask, button3), \w -> focus w >> mouseResizeWindow w
+ >> windows W.shiftMaster)
-- you may also bind events to the mouse scroll wheel (button4 and button5)
]
@@ -248,4 +248,4 @@ defaultConfig = XConfig
, XMonad.manageHook = manageHook
, XMonad.handleEventHook = handleEventHook
, XMonad.focusFollowsMouse = focusFollowsMouse
- } \ No newline at end of file
+ }