From 9c4933dfe7306080056beaaff99c27991a7c473d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 9 Nov 2011 00:19:04 +0100 Subject: Fix and rationalise update/redraw logic --- src/tool_select.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tool_select.c') 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); } -- cgit v1.2.3