diff options
Diffstat (limited to 'src/Xmobar/X11')
-rw-r--r-- | src/Xmobar/X11/Draw.hs | 2 | ||||
-rw-r--r-- | src/Xmobar/X11/Window.hs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Xmobar/X11/Draw.hs b/src/Xmobar/X11/Draw.hs index 6c00ee6..6044eff 100644 --- a/src/Xmobar/X11/Draw.hs +++ b/src/Xmobar/X11/Draw.hs @@ -89,7 +89,7 @@ drawInWin wr@(Rectangle _ _ wid ht) ~[left,center,right] = do liftIO $ freeGC d gc liftIO $ freePixmap d p -- resync - liftIO $ sync d True + liftIO $ sync d False verticalOffset :: (Integral b, Integral a, MonadIO m) => a -> Widget -> XFont -> Int -> Config -> m b diff --git a/src/Xmobar/X11/Window.hs b/src/Xmobar/X11/Window.hs index 796e213..6de8e66 100644 --- a/src/Xmobar/X11/Window.hs +++ b/src/Xmobar/X11/Window.hs @@ -69,6 +69,7 @@ repositionWin d win fs c = do r = setPosition c (position c) srs (fromIntegral ht) moveResizeWindow d win (rect_x r) (rect_y r) (rect_width r) (rect_height r) setStruts r c d win srs + sync d False return r fi :: (Integral a, Num b) => a -> b |