diff options
| author | Ted Gould <ted@gould.cx> | 2010-07-13 20:49:52 +0000 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2010-07-13 20:49:52 +0000 |
| commit | fc4029be156f68885121ba22aa4ca528a2297956 (patch) | |
| tree | 4685bfddef010181fdd87fc182016b994f2b69d9 /src/display/sp-canvas.cpp | |
| parent | Translations. Romanian nsh file update. (diff) | |
| parent | Upgrading to trunk (diff) | |
| download | inkscape-fc4029be156f68885121ba22aa4ca528a2297956.tar.gz inkscape-fc4029be156f68885121ba22aa4ca528a2297956.zip | |
Merging in the DBus Interface from GSoC 2009
(bzr r9611)
Diffstat (limited to 'src/display/sp-canvas.cpp')
| -rw-r--r-- | src/display/sp-canvas.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/display/sp-canvas.cpp b/src/display/sp-canvas.cpp index c6778c8c5..e39fef45b 100644 --- a/src/display/sp-canvas.cpp +++ b/src/display/sp-canvas.cpp @@ -1040,6 +1040,8 @@ sp_canvas_init (SPCanvas *canvas) // See comment at in sp-canvas.h. canvas->gen_all_enter_events = false; + + canvas->drawing_disabled = false; canvas->tiles=NULL; canvas->tLeft=canvas->tTop=canvas->tRight=canvas->tBottom=0; @@ -2113,6 +2115,9 @@ do_update (SPCanvas *canvas) { if (!canvas->root || !canvas->pixmap_gc) // canvas may have already be destroyed by closing desktop during interrupted display! return TRUE; + + if (canvas->drawing_disabled) + return TRUE; /* Cause the update if necessary */ if (canvas->need_update) { |
