mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-01 12:41:53 -07:00
HEADS UP: (logging format change). use a custom pretty printer, for an easier format to parse, than 'show' produces
This commit is contained in:
2
Main.hs
2
Main.hs
@@ -94,7 +94,7 @@ main = do
|
||||
, w <- W.integrate (W.stack wk) ]
|
||||
|
||||
mapM_ manage ws -- find new windows
|
||||
when logging $ withWindowSet (io . hPrint stdout)
|
||||
when logging $ withWindowSet (io . putStrLn . serial)
|
||||
|
||||
-- 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