diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.c | 6 | ||||
-rw-r--r-- | src/slideshow.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index a9c52f8..15d8025 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -906,10 +906,10 @@ static gboolean expose_sig(GtkWidget *da, GdkEventExpose *event, /* Overall background */ cairo_rectangle(cr, event->area.x, event->area.y, event->area.width, event->area.height); - if ( p->slideshow == NULL ) { - cairo_set_source_rgb(cr, 0.9, 0.9, 0.9); - } else { + if ( (p->slideshow != NULL) && !p->slideshow_linked ) { cairo_set_source_rgb(cr, 1.0, 0.3, 0.2); + } else { + cairo_set_source_rgb(cr, 0.9, 0.9, 0.9); } cairo_fill(cr); diff --git a/src/slideshow.c b/src/slideshow.c index 4786784..02c6bc0 100644 --- a/src/slideshow.c +++ b/src/slideshow.c @@ -168,6 +168,8 @@ void toggle_slideshow_link(struct presentation *p) if ( p->slideshow_linked ) { p->cur_proj_slide = p->cur_edit_slide; notify_slideshow_slide_changed(p, p->cur_proj_slide); + } else { + redraw_overlay(p); } } |