Focus follows mouse

This commit is contained in:
Mats Rauhala 2019-08-23 13:05:58 +03:00
parent c6406cc2dd
commit 8e1f9908c9

View File

@ -49,6 +49,7 @@ import XMonad.Util.SpawnOnce
import System.IO (hClose, hPutStr) import System.IO (hClose, hPutStr)
import XMonad.Actions.Navigation2D import XMonad.Actions.Navigation2D
import XMonad.Actions.UpdatePointer (updatePointer)
import XMonad.Util.NamedActions import XMonad.Util.NamedActions
import XMonad.Util.Run (spawnPipe) import XMonad.Util.Run (spawnPipe)
@ -241,7 +242,8 @@ masser extraConfig = xmonad =<< statusBar (bar extraConfig) zenburnPP toggleStru
, normalBorderColor = "#262626" , normalBorderColor = "#262626"
, focusedBorderColor = "#7F9F7F" , focusedBorderColor = "#7F9F7F"
, manageHook = myManageHook , manageHook = myManageHook
, focusFollowsMouse = False , focusFollowsMouse = True
, logHook = updatePointer (0.25, 0.25) (0.25, 0.25)
} }
myLayout = toggleLayouts zoom workspaceLayouts myLayout = toggleLayouts zoom workspaceLayouts
where where