summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar.hs
diff options
context:
space:
mode:
authorJochen Keil <jochen.keil@gmail.com>2012-08-13 07:28:55 +0200
committerJochen Keil <jochen.keil@gmail.com>2012-08-13 07:28:55 +0200
commitb8cf77207eb7dfa99f842f5b7e63fee95efe3796 (patch)
tree2291f54f171aa4a5d3730d017c73c0d87c345a5d /src/Xmobar.hs
parentabb0b488741fc2f20a1486a6f122f7f6fa38e92d (diff)
downloadxmobar-b8cf77207eb7dfa99f842f5b7e63fee95efe3796.tar.gz
xmobar-b8cf77207eb7dfa99f842f5b7e63fee95efe3796.tar.bz2
Revert lowerOnStart to its original behaviour
I misunderstood the intention of lowerOnStart and changed the implementation to what I thought it would have to do. This was wrong indeed, so back to original behaviour.
Diffstat (limited to 'src/Xmobar.hs')
-rw-r--r--src/Xmobar.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Xmobar.hs b/src/Xmobar.hs
index d758301..5328b6e 100644
--- a/src/Xmobar.hs
+++ b/src/Xmobar.hs
@@ -78,7 +78,6 @@ runX xc f = runReaderT f xc
startLoop :: XConf -> MVar SignalType -> [[(Maybe ThreadId, TVar String)]] -> IO ()
startLoop xcfg@(XConf _ _ w _ conf) sig vs = do
tv <- atomically $ newTVar []
- when (lowerOnStart conf) $ putMVar sig Hide
_ <- forkIO (checker tv [] vs sig `catch`
\(SomeException _) -> void (putStrLn "Thread checker failed"))
#ifdef THREADED_RUNTIME