From 7235e59441c94580e99d50774629579fe54c6b1a Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Wed, 18 Jul 2007 00:51:31 +0200 Subject: Use asynchronous exceptions to obviate the need for forkOS and threaded darcs-hash:20070717225131-a5988-1f5e0cb3c8373b5eb6f7e87496110409380ded23.gz --- Main.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Main.hs') diff --git a/Main.hs b/Main.hs index c83b1f5..55e5487 100644 --- a/Main.hs +++ b/Main.hs @@ -37,7 +37,8 @@ main = cl <- parseTemplate config (template config) var <- execCommands config cl (d,w) <- createWin config - runXbar config var d w eventLoop + eventLoop config var d w + return () -- | Reads the configuration files or quits with an error readConfig :: FilePath -> IO Config -- cgit v1.2.3