aboutsummaryrefslogtreecommitdiff
path: root/src/slideshow.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-09-30 23:18:31 +0200
committerThomas White <taw@bitwiz.org.uk>2014-09-30 23:18:31 +0200
commite621e284f7fe1208ad1e9556eb3c8e2598aabf55 (patch)
tree881b70d192e630c68868f2f874b24ffc4f53999d /src/slideshow.c
parent2931d57e2bb25d44e6b70e18935fe1530b8dd4a5 (diff)
WIP
Diffstat (limited to 'src/slideshow.c')
-rw-r--r--src/slideshow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slideshow.c b/src/slideshow.c
index 800d9b5..bd26d03 100644
--- a/src/slideshow.c
+++ b/src/slideshow.c
@@ -48,6 +48,7 @@ struct _slideshow
int blank;
char geom[256];
int slide_width;
+ int slide_height;
struct inhibit_sys *inhibit;
int linked;
cairo_surface_t *surface;
@@ -73,6 +74,7 @@ void slideshow_rerender(SlideShow *ss)
n = slide_number(ss->p, ss->cur_slide);
ss->surface = render_slide(ss->cur_slide,
ss->slide_width,
+ ss->slide_height,
ss->p->slide_width,
ss->p->slide_height,
ss->p->is, ISZ_SLIDESHOW, n);