From a082f4d804355f801f5145d208a695055fca7125 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Wed, 24 Apr 2013 17:42:42 -0400 Subject: animated-resizing, video-timer: Add missing return value from ::draw When we connect to GtkWidget::draw, the signal handler should have a return value. This fixes overdrawing client-side decorations. --- tests/video-timer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/video-timer.c') diff --git a/tests/video-timer.c b/tests/video-timer.c index e665c6da7f..bc5de1e5fe 100644 --- a/tests/video-timer.c +++ b/tests/video-timer.c @@ -190,7 +190,7 @@ adjust_clock_for_phase (gint64 frame_clock_time, /* Drawing */ -static void +static gboolean on_window_draw (GtkWidget *widget, cairo_t *cr) { @@ -224,6 +224,8 @@ on_window_draw (GtkWidget *widget, displayed_frame->frame_counter = gdk_frame_clock_get_frame_counter (frame_clock); } } + + return FALSE; } static void -- cgit v1.2.1