summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@ing.unitn.it>2007-11-04 12:12:00 +0100
committerAndrea Rossato <andrea.rossato@ing.unitn.it>2007-11-04 12:12:00 +0100
commit9859b0cbfaa6f3b70e7636bc6f53e4d9c8c6da01 (patch)
tree7c85c5cd68b8f6e2f5dc38497f938e9ad29fbc7b
parent7e98a6e8d47d84b6501c844e30c40b1ae0762e87 (diff)
downloadxmobar-9859b0cbfaa6f3b70e7636bc6f53e4d9c8c6da01.tar.gz
xmobar-9859b0cbfaa6f3b70e7636bc6f53e4d9c8c6da01.tar.bz2
Window is mapped after properties have been set
darcs-hash:20071104111200-d6583-3ba0889da170886938f84754d9831c5b53068ba4.gz
-rw-r--r--Xmobar.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xmobar.hs b/Xmobar.hs
index 5b20aeb..d77b91c 100644
--- a/Xmobar.hs
+++ b/Xmobar.hs
@@ -140,8 +140,8 @@ createWin d fs c = do
Static cx cy cw ch -> (fi cx,fi cy,fi cw,fi ch,True)
win <- mkUnmanagedWindow d (defaultScreenOfDisplay d) rootw x y w h o
selectInput d win (exposureMask .|. structureNotifyMask)
- mapWindow d win
setProperties h c d win
+ mapWindow d win
return (Rectangle x y w h,win)
setProperties :: Dimension -> Config -> Display -> Window -> IO ()