diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-10-11 19:21:35 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-11-06 10:51:58 -0500 |
commit | 5ebb317383b9863ca7da037a7348ab3ee4f9f34c (patch) | |
tree | 369de5255ebc7cc23e283f9c489144cab4a14ba0 /client.c | |
parent | f921289954840063722c8e3d541c5089b34a082a (diff) | |
download | wayland-5ebb317383b9863ca7da037a7348ab3ee4f9f34c.tar.gz wayland-5ebb317383b9863ca7da037a7348ab3ee4f9f34c.tar.xz wayland-5ebb317383b9863ca7da037a7348ab3ee4f9f34c.zip |
Recomposite screen in idle handler.
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -141,11 +141,11 @@ int main(int argc, char *argv[]) cairo_image_surface_get_stride(s)); i = 0; - while (ret = poll(p, 1, 200), ret >= 0) { + while (ret = poll(p, 1, 20), ret >= 0) { if (ret == 0) { wl_surface_map(surface, - x + cos(i / 10.0) * 150, - y + sin(i / 10.0) * 150, + x + cos(i / 10.0) * 200, + y + sin(i / 11.0) * 200, width, height); i++; continue; |