diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-10-17 22:13:51 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-10-17 22:13:51 +0100 |
commit | a11196f4e47c312ff787d3990e0aa8edefa3e395 (patch) | |
tree | b43a99972750dc62aae39380e3bbdc2e9b856984 /src/tool_select.c | |
parent | c124f153354b6f63aa5f40dbe8e99b6b23cb416b (diff) |
New slide redraw logic
This way is much more straightforward, and allows rendering in many different sizes
Diffstat (limited to 'src/tool_select.c')
-rw-r--r-- | src/tool_select.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tool_select.c b/src/tool_select.c index 2327d0d..1fb66c7 100644 --- a/src/tool_select.c +++ b/src/tool_select.c @@ -76,10 +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); - p->view_slide->object_seq++; - - gdk_window_invalidate_rect(p->drawingarea->window, NULL, FALSE); + o->update_object(o); /* Object method is responsible for requesting + * a redraw */ } |