aboutsummaryrefslogtreecommitdiff
path: root/src/slideshow.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-06-01 18:37:31 +0200
committerThomas White <taw@physics.org>2011-06-01 18:37:31 +0200
commit40d60e8d85bfb6809df06c331cceab955c416751 (patch)
tree4ede77ce35345876f225e095d6f8489ef92e886f /src/slideshow.c
parentbcc9f89407ed1e632da249623fd63e493439ec39 (diff)
Don't update p->border_{x,y} in slideshow redraw
Diffstat (limited to 'src/slideshow.c')
-rw-r--r--src/slideshow.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/slideshow.c b/src/slideshow.c
index a7c98b0..f5e2fd1 100644
--- a/src/slideshow.c
+++ b/src/slideshow.c
@@ -67,7 +67,6 @@ static gboolean ss_expose_sig(GtkWidget *da, GdkEventExpose *event,
gtk_widget_get_allocation(da, &allocation);
xoff = (allocation.width - p->slide_width)/2.0;
yoff = (allocation.height - p->slide_height)/2.0;
- p->border_offs_x = xoff; p->border_offs_y = yoff;
/* Draw the slide from the cache */
cairo_rectangle(cr, event->area.x, event->area.y,