summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--XMonad.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad.hs b/XMonad.hs
index dccdd12..d2f16a7 100644
--- a/XMonad.hs
+++ b/XMonad.hs
@@ -153,7 +153,7 @@ restart mprog resume = do
prog <- maybe (io $ getProgName) return mprog
args <- io $ getArgs
args' <- if resume then gets (("--resume":) . return . show . windowset) else return []
- io $ catch (executeFile prog True (args ++ args') Nothing)
+ io $ catch (executeFile prog True (args' ++ args) Nothing)
(const $ return ()) -- ignore executable not found exception
-- | Run a side effecting action with the current workspace. Like 'when' but