summaryrefslogtreecommitdiffstats
path: root/Main.hs
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-10-12 17:28:01 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-10-12 17:28:01 +0200
commit2bb2f5e28f14d0d31762acd6c54612b34d911c55 (patch)
treebacc45f67f2966090f68875b4d3eb3b0b505dc91 /Main.hs
parent8576d74f6ab0f5ae424fb5c4b961851be3305712 (diff)
downloadmetatile-2bb2f5e28f14d0d31762acd6c54612b34d911c55.tar
metatile-2bb2f5e28f14d0d31762acd6c54612b34d911c55.zip
Respect ExitExceptions, fixes a regression where exitWith had no effect
darcs-hash:20071012152801-a5988-80a14dda451e1e6e7cdc9e42fdc11568c21004b2
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Main.hs b/Main.hs
index 06b0162..d4b602f 100644
--- a/Main.hs
+++ b/Main.hs
@@ -103,6 +103,7 @@ main = do
-- main loop, for all you HOF/recursion fans out there.
forever_ $ handle =<< io (nextEvent dpy e >> getEvent e)
+ return ()
where forever_ a = a >> forever_ a
-- ---------------------------------------------------------------------