summaryrefslogtreecommitdiffhomepage
path: root/src/Window.hs
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2012-08-16 20:47:21 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2012-08-16 20:47:21 +0200
commit0d36df3af375046554956c61089c766623104a79 (patch)
treee6ecebb6df159947c2e1f0377785fad8fed8ac03 /src/Window.hs
parentfda03ea2bf02f085cd750a4b82a1964c6e8bd138 (diff)
parentb57de3e23f36756d0ba85a10592dea02561f8b0f (diff)
downloadxmobar-0d36df3af375046554956c61089c766623104a79.tar.gz
xmobar-0d36df3af375046554956c61089c766623104a79.tar.bz2
Merging github pull request 57
Conflicts: readme.md
Diffstat (limited to 'src/Window.hs')
-rw-r--r--src/Window.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.hs b/src/Window.hs
index 0ffa139..9b0c506 100644
--- a/src/Window.hs
+++ b/src/Window.hs
@@ -41,7 +41,7 @@ createWin d fs c = do
win <- newWindow d (defaultScreenOfDisplay d) rootw r o
setProperties r c d win srs
when (lowerOnStart c) (lowerWindow d win)
- mapWindow d win
+ when (not $ hideOnStart c) $ mapWindow d win
return (r,win)
-- | Updates the size and position of the window