aboutsummaryrefslogtreecommitdiff
path: root/src/tool_select.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-11-09 00:19:04 +0100
committerThomas White <taw@bitwiz.org.uk>2011-11-09 00:19:04 +0100
commit9c4933dfe7306080056beaaff99c27991a7c473d (patch)
tree407c1f093503617309664df827f0276ac53a8351 /src/tool_select.c
parente64a4eb72eb99f4995e6b48b06389fbb45ce00e8 (diff)
Fix and rationalise update/redraw logic
Diffstat (limited to 'src/tool_select.c')
-rw-r--r--src/tool_select.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_select.c b/src/tool_select.c
index 55f8894..bf2393e 100644
--- a/src/tool_select.c
+++ b/src/tool_select.c
@@ -76,8 +76,8 @@ static void drag(struct toolinfo *tip, struct presentation *p,
if ( o->x+o->bb_width > eright ) o->x = eright - o->bb_width;
if ( o->y+o->bb_height > ebottom ) o->y = ebottom - o->bb_height;
- o->update_object(o); /* Object method is responsible for requesting
- * a redraw */
+ o->update_object(o);
+ redraw_slide(o->parent);
}