aboutsummaryrefslogtreecommitdiff
path: root/src/slideshow.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-05-29 20:55:24 +0200
committerThomas White <taw@bitwiz.org.uk>2011-05-29 20:55:24 +0200
commit5b83418451e4e2ce8d4dde3b384a9a5eea29a1dc (patch)
tree5e0457a917e0ce58d95645e8a7d78bf3382211fc /src/slideshow.c
parent76212cad4d9df582b29abe7f9ca607736bdbc06e (diff)
Unblank slide for next/prev
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 7e4019e..a36aabe 100644
--- a/src/slideshow.c
+++ b/src/slideshow.c
@@ -89,6 +89,7 @@ static gint prev_slide_sig(GtkWidget *widget, struct presentation *p)
if ( p->view_slide_number == 0 ) return FALSE;
p->view_slide_number--;
+ p->ss_blank = 0;
p->view_slide = p->slides[p->view_slide_number];
gdk_window_invalidate_rect(p->ss_drawingarea->window, NULL, FALSE);
@@ -104,6 +105,7 @@ static gint next_slide_sig(GtkWidget *widget, struct presentation *p)
if ( p->view_slide_number == p->num_slides-1 ) return FALSE;
p->view_slide_number++;
+ p->ss_blank = 0;
p->view_slide = p->slides[p->view_slide_number];
gdk_window_invalidate_rect(p->ss_drawingarea->window, NULL, FALSE);