summaryrefslogtreecommitdiffstats
path: root/wayland-system-compositor.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2009-09-12 16:57:02 -0400
committerKristian Høgsberg <krh@redhat.com>2009-09-12 16:57:02 -0400
commit5d312db56ea7c6d03c9ae4ae6782cabba1f1c568 (patch)
tree6919909e364b5c299925af58b0311d5ded592c82 /wayland-system-compositor.c
parent4adaf5c6bc3e366739d03b01b809ac8fa1dc431d (diff)
downloadwayland-5d312db56ea7c6d03c9ae4ae6782cabba1f1c568.tar.gz
wayland-5d312db56ea7c6d03c9ae4ae6782cabba1f1c568.tar.xz
wayland-5d312db56ea7c6d03c9ae4ae6782cabba1f1c568.zip
Tweak repaint timeout to 5ms after vblank
Reduces risk of flicker, but we need something better here.
Diffstat (limited to 'wayland-system-compositor.c')
-rw-r--r--wayland-system-compositor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wayland-system-compositor.c b/wayland-system-compositor.c
index 4ea7bbd..1d6d0af 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);