diff options
author | Martin Perner <martin@perner.cc> | 2011-09-10 17:01:10 +0200 |
---|---|---|
committer | Martin Perner <martin@perner.cc> | 2011-09-10 17:30:18 +0200 |
commit | b2601191cf84efdd6d0e144385c82e9d3a45cd27 (patch) | |
tree | ba1d23218927e0e9b00673ed696a2af9f297b408 /src/Main.hs | |
parent | 735e4098b7d54dc248721a74873317e920b86d2b (diff) | |
download | xmobar-b2601191cf84efdd6d0e144385c82e9d3a45cd27.tar.gz xmobar-b2601191cf84efdd6d0e144385c82e9d3a45cd27.tar.bz2 |
moved signal handler setup into eventloop
Diffstat (limited to 'src/Main.hs')
-rw-r--r-- | src/Main.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs index 0d4c113..e8efd61 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -57,8 +57,7 @@ main = do cls <- mapM (parseTemplate conf) (splitTemplate conf) vars <- mapM (mapM startCommand) cls (r,w) <- createWin d fs conf - sig <- setupSignalHandler - eventLoop (XConf d r w fs conf) vars sig + eventLoop (XConf d r w fs conf) vars -- | Splits the template in its parts splitTemplate :: Config -> [String] |