aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-06-01 13:53:56 +0200
committerThomas White <taw@physics.org>2011-06-01 13:53:56 +0200
commitddd4bba22a4cd4ebd326694961190129d129d2fd (patch)
treeb6b4b31614e44293b08fc8a507cdf23ee1dc8a8b /src/mainwindow.c
parent61b40bb09d62de702706ef7fc8c9d4fa73af9595 (diff)
Put slideshow on second monitor
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index d0d668f..d407888 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -404,7 +404,11 @@ 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);
- cairo_set_source_rgb(cr, 0.9, 0.9, 0.9);
+ if ( p->slideshow == NULL ) {
+ cairo_set_source_rgb(cr, 0.9, 0.9, 0.9);
+ } else {
+ cairo_set_source_rgb(cr, 1.0, 0.3, 0.2);
+ }
cairo_fill(cr);
/* Get the overall size */