aboutsummaryrefslogtreecommitdiff
path: root/src/tool_select.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-10-17 22:13:51 +0100
committerThomas White <taw@bitwiz.org.uk>2011-10-17 22:13:51 +0100
commita11196f4e47c312ff787d3990e0aa8edefa3e395 (patch)
treeb43a99972750dc62aae39380e3bbdc2e9b856984 /src/tool_select.c
parentc124f153354b6f63aa5f40dbe8e99b6b23cb416b (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.c6
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 */
}