diff options
Diffstat (limited to 'src/slideshow.c')
-rw-r--r-- | src/slideshow.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slideshow.c b/src/slideshow.c index 6594be8..4847077 100644 --- a/src/slideshow.c +++ b/src/slideshow.c @@ -34,6 +34,7 @@ #include "presentation.h" #include "mainwindow.h" #include "render.h" +#include "pr_clock.h" /* Force a redraw of the slideshow */ @@ -103,6 +104,8 @@ void change_proj_slide(struct presentation *p, struct slide *np) p->cur_proj_slide = np; + notify_clock_slide_changed(p, np); + /* The slide is already rendered, because the editor always gets there * first, so we only need to do this: */ redraw_slideshow(p); @@ -266,4 +269,6 @@ void try_start_slideshow(struct presentation *p) //if ( p->prefs->open_notes ) open_notes(p); FIXME! p->cur_proj_slide = p->cur_edit_slide; + + notify_clock_slide_changed(p, p->cur_proj_slide); } |