summaryrefslogtreecommitdiffstats
path: root/man/xmonad.hs
diff options
context:
space:
mode:
Diffstat (limited to 'man/xmonad.hs')
-rw-r--r--man/xmonad.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/man/xmonad.hs b/man/xmonad.hs
index 2cb8443..e283afb 100644
--- a/man/xmonad.hs
+++ b/man/xmonad.hs
@@ -230,6 +230,10 @@ myManageHook = composeAll
, resource =? "desktop_window" --> doIgnore
, resource =? "kdesktop" --> doIgnore ]
+-- Whether focus follows the mouse pointer.
+myFocusFollowsMouse :: Bool
+myFocusFollowsMouse = True
+
------------------------------------------------------------------------
-- Status bars and logging
@@ -259,6 +263,7 @@ main = xmonad defaults
defaults = defaultConfig {
-- simple stuff
terminal = myTerminal,
+ focusFollowsMouse = myFocusFollowsMouse,
borderWidth = myBorderWidth,
modMask = myModMask,
numlockMask = myNumlockMask,