From 5d312db56ea7c6d03c9ae4ae6782cabba1f1c568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Sat, 12 Sep 2009 16:57:02 -0400 Subject: [PATCH] Tweak repaint timeout to 5ms after vblank Reduces risk of flicker, but we need something better here. --- wayland-system-compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wayland-system-compositor.c b/wayland-system-compositor.c index 4ea7bbdc..1d6d0afd 100644 --- a/wayland-system-compositor.c +++ b/wayland-system-compositor.c @@ -597,7 +597,7 @@ page_flip_handler(int fd, unsigned int frame, &compositor->base, compositor->current_frame, msecs); - wl_event_source_timer_update(compositor->timer_source, 10); + wl_event_source_timer_update(compositor->timer_source, 5); compositor->repaint_on_timeout = 1; animate = container_of(compositor->animate_list.next, struct wlsc_animate, link);