summaryrefslogtreecommitdiffstats
path: root/lib/Phi/X11.hs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-08-21 05:38:37 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-08-21 05:38:37 +0200
commit028c4243a87e41e3b7e2c51eb752d4b089b30680 (patch)
treed401761df8a383b9dfdf3054a4d1365400879435 /lib/Phi/X11.hs
parent15bccc001a5ff2e76d0890f85e300e9312cddd1b (diff)
downloadphi-028c4243a87e41e3b7e2c51eb752d4b089b30680.tar
phi-028c4243a87e41e3b7e2c51eb752d4b089b30680.zip
Use CacheArrow for rendering
Extremely hacky at the moment, for now the caching isn't used at all...
Diffstat (limited to 'lib/Phi/X11.hs')
-rw-r--r--lib/Phi/X11.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Phi/X11.hs b/lib/Phi/X11.hs
index d7159dd..afa8440 100644
--- a/lib/Phi/X11.hs
+++ b/lib/Phi/X11.hs
@@ -218,12 +218,13 @@ updatePanels dispvar = do
setSource pattern
paint
restore
- Widget.renderWidgets layoutedWidgets $ panelScreenArea panel
+ Widget.renderWidgets layoutedWidgets (panelScreenArea panel) 0 0
renderWith xbuffer $ do
withPatternForSurface buffer $ \pattern -> do
setSource pattern
paint
+ surfaceFlush xbuffer
surfaceFinish xbuffer
-- copy buffer to window