summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDmitry Malikov <color404051h@gmail.com>2013-01-20 14:35:52 +0400
committerDmitry Malikov <color404051h@gmail.com>2013-01-20 14:35:52 +0400
commit8c208d5e5ef970f465c4ee903367de8a8b41879a (patch)
tree6cd5a72ddc0f8473820b6f23680b4434c0b66eb4
parent2b0e52610c41cd21a554228c630aefa1a95de752 (diff)
downloadxmobar-8c208d5e5ef970f465c4ee903367de8a8b41879a.tar.gz
xmobar-8c208d5e5ef970f465c4ee903367de8a8b41879a.tar.bz2
Apply @polachok patch to fix #77
-rw-r--r--src/Window.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.hs b/src/Window.hs
index f43fe4b..e7dc9e6 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)
- when (not $ hideOnStart c) $ mapWindow d win
+ when (not $ hideOnStart c) $ showWindow r c d win
return (r,win)
-- | Updates the size and position of the window