mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-26 16:53:47 -07:00
Main.hs: startupHook should be guarded by userCode
This commit is contained in:
@@ -119,7 +119,7 @@ xmonad initxmc = do
|
||||
-- manage the as-yet-unmanaged windows
|
||||
mapM_ manage (ws \\ W.allWindows winset)
|
||||
|
||||
startupHook initxmc
|
||||
userCode $ startupHook initxmc
|
||||
|
||||
-- main loop, for all you HOF/recursion fans out there.
|
||||
forever_ $ handle =<< io (nextEvent dpy e >> getEvent e)
|
||||
|
Reference in New Issue
Block a user