summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@ing.unitn.it>2007-07-08 12:17:02 +0200
committerAndrea Rossato <andrea.rossato@ing.unitn.it>2007-07-08 12:17:02 +0200
commite890c130c1f75d08d840136bcb0ea9e2df455d0f (patch)
tree1a2fc0487223f64ffc7b13c6229f2b680383a0ef
parentb79dc579f90c519de2883febce0952e1d233d76b (diff)
downloadxmobar-e890c130c1f75d08d840136bcb0ea9e2df455d0f.tar.gz
xmobar-e890c130c1f75d08d840136bcb0ea9e2df455d0f.tar.bz2
hope this fixes the "flickering text" problem reported by Krzysztof
darcs-hash:20070708101702-d6583-95d021f3140ee5955d8438742a61b10115e2e8cd.gz
-rw-r--r--XMobar.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMobar.hs b/XMobar.hs
index c9da0b5..33196cd 100644
--- a/XMobar.hs
+++ b/XMobar.hs
@@ -123,7 +123,7 @@ drawInWin str =
-- free everything
io $ freeFont dpy fontst
io $ freeGC dpy gc
- io $ flush dpy
+ io $ sync dpy True
-- | An easy way to print the stuff we need to print
printStrings :: GC