xserver/hw/xwayland
Rui Matos ea9e021843 xwayland: Throttle our cursor surface updates with a frame callback
In some extreme cases with animated cursors at a high frame rate we
could end up filling the wl_display outgoing buffer and end up with
wl_display_flush() failing.

In any case, using the frame callback to throttle ourselves is the
right thing to do.

Signed-off-by: Rui Matos <tiagomatos@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit cbb7eb73b5)
2015-06-16 11:21:26 -04:00
..
.gitignore Xwayland DDX 2014-04-03 15:19:22 -07:00
drm.xml xwayland: Add glamor and DRI3 support 2014-06-24 15:09:55 -07:00
Makefile.am xwayland: Add dependency on glamor libs 2015-06-03 09:05:36 -04:00
xwayland-cursor.c xwayland: Throttle our cursor surface updates with a frame callback 2015-06-16 11:21:26 -04:00
xwayland-cvt.c Xwayland DDX 2014-04-03 15:19:22 -07:00
xwayland-glamor.c xwayland: Fix error strings 2015-06-03 09:05:37 -04:00
xwayland-input.c xwayland: Throttle our cursor surface updates with a frame callback 2015-06-16 11:21:26 -04:00
xwayland-output.c xwayland: Fix error strings 2015-06-03 09:05:37 -04:00
xwayland-shm.c Xwayland DDX 2014-04-03 15:19:22 -07:00
xwayland.c xwayland: default to local user if no xauth file given. [CVE-2015-3164 3/3] 2015-06-03 09:05:39 -04:00
xwayland.h xwayland: Throttle our cursor surface updates with a frame callback 2015-06-16 11:21:26 -04:00