From 04db9fa5830db43842180c45d105bced78bfb472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 11 Apr 2011 13:39:43 -0400 Subject: [PATCH] Call present after clearing repaint_needed In case we end up scheduling a repaint in the finish_frame callback. --- compositor/compositor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compositor/compositor.c b/compositor/compositor.c index e545a6a2..055f41f6 100644 --- a/compositor/compositor.c +++ b/compositor/compositor.c @@ -578,9 +578,8 @@ repaint(void *data) wl_list_for_each(output, &ec->output_list, link) wlsc_output_repaint(output); - ec->present(ec); - ec->repaint_needed = 0; + ec->present(ec); } void