aboutsummaryrefslogtreecommitdiffstats
path: root/Main.hs
diff options
context:
space:
mode:
authorDon Stewart <dons@cse.unsw.edu.au>2007-06-09 15:17:16 +0200
committerDon Stewart <dons@cse.unsw.edu.au>2007-06-09 15:17:16 +0200
commitc29c5cde24675e152e0cff754b32db7b2b59bfa0 (patch)
treebfc7339ea98da0bab2c4f7881fa8f1c3fa04d83e /Main.hs
parent541c7a063b6fc58e0599c309b5954c17638e2274 (diff)
downloadxmonad-c29c5cde24675e152e0cff754b32db7b2b59bfa0.tar.gz
xmonad-c29c5cde24675e152e0cff754b32db7b2b59bfa0.tar.xz
xmonad-c29c5cde24675e152e0cff754b32db7b2b59bfa0.zip
HEADS UP: (logging format change). use a custom pretty printer, for an easier format to parse, than 'show' produces
darcs-hash:20070609131716-9c5c1-ac6b3d7e8193b16ca9ae65f32d5373090107eca1.gz
Diffstat (limited to '')
-rw-r--r--Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index de1b979..aaa4970 100644
--- a/Main.hs
+++ b/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)