[PATCH weston] compositor: remove a call to weston_compositor_schedule_repaint

Ryo Munakata ryomnktml at gmail.com
Fri Jul 24 19:09:41 PDT 2015

In weston_compositor_create, we initialize output_list.
After that we call weston_compositor_schedule_repaint which just calls
weston_output_schedule_repaint on all elements of output_list.
This call does nothing obviously. So we remove it.

Signed-off-by: Ryo Munakata <ryomnktml at gmail.com>
 src/compositor.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/compositor.c b/src/compositor.c
index 66c3eee..4fb7304 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -4532,8 +4532,6 @@ weston_compositor_create(struct wl_display *display, void *user_data)
 	weston_compositor_add_debug_binding(ec, KEY_T,
 					    timeline_key_binding_handler, ec);
-	weston_compositor_schedule_repaint(ec);
 	return ec;

More information about the wayland-devel mailing list