summaryrefslogtreecommitdiffstats
path: root/src/display/sodipodi-ctrl.h
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-08-24 01:58:15 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-08-24 01:58:15 +0000
commit1d5687d2f4fbc34c5a6bd1c6ed71fd091821300b (patch)
treef43830cac69f1aeda43958120c0cf7461e217181 /src/display/sodipodi-ctrl.h
parentthird patch from Dennis Lin (with my tweaks) - great simplification and optim... (diff)
downloadinkscape-1d5687d2f4fbc34c5a6bd1c6ed71fd091821300b.tar.gz
inkscape-1d5687d2f4fbc34c5a6bd1c6ed71fd091821300b.zip
do not redraw until moved for the first time; this fixes the flicker at 0,0 whenever a new ctrl is created
(bzr r3577)
Diffstat (limited to 'src/display/sodipodi-ctrl.h')
-rw-r--r--src/display/sodipodi-ctrl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/display/sodipodi-ctrl.h b/src/display/sodipodi-ctrl.h
index c0e584ce2..2b2254d14 100644
--- a/src/display/sodipodi-ctrl.h
+++ b/src/display/sodipodi-ctrl.h
@@ -47,6 +47,7 @@ struct SPCtrl : public SPCanvasItem{
guint stroked : 1;
guint32 fill_color;
guint32 stroke_color;
+ bool _moved;
NRRectL box; /* NB! x1 & y1 are included */
guchar *cache;