mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 04:31:52 -07:00
eliminate references to defaultConfig
This commit is contained in:
@@ -29,7 +29,7 @@ import Data.Monoid
|
||||
-- following to your @~\/.xmonad\/xmonad.hs@:
|
||||
--
|
||||
-- > import XMonad.Actions.UpdateFocus
|
||||
-- > xmonad $ defaultConfig {
|
||||
-- > xmonad $ def {
|
||||
-- > ..
|
||||
-- > startupHook = adjustEventInput
|
||||
-- > handleEventHook = focusOnMouseMove
|
||||
@@ -57,4 +57,4 @@ adjustEventInput = withDisplay $ \dpy -> do
|
||||
rootw <- asks theRoot
|
||||
io $ selectInput dpy rootw $ substructureRedirectMask .|. substructureNotifyMask
|
||||
.|. enterWindowMask .|. leaveWindowMask .|. structureNotifyMask
|
||||
.|. buttonPressMask .|. pointerMotionMask
|
||||
.|. buttonPressMask .|. pointerMotionMask
|
||||
|
Reference in New Issue
Block a user