xserver-multidpi/hw
Jonas Ådahl a779fda224 xwayland: Use the CLOCK_MONOTONIC clock
By default the X server will try CLOCK_MONOTONIC_COARSE before
CLOCK_MONOTONIC, while A Wayland compositor may only support getting
their timestamps from the CLOCK_MONOTONIC clock. This causes various
issues since it may happen that a timestamp from CLOCK_MONOTONIC
retrieved before a sending an X request will still be "later" than the
timestamp the X server than gets after receiving the request, due to the
fact that CLOCK_MONOTONIC_COARSE has a lower resolution.

To avoid these issues, make Xwayland always use CLOCK_MONOTONIC, so
that it becomes possible for Wayland compositor only supporting
CLOCK_MONOTONIC and X server to use the same clock.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Tested-by: Olivier Fourdan <ofourdan@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-05-31 08:44:38 +10:00
..
dmx Create a threaded mechanism for input [v7] 2016-05-26 16:07:54 -07:00
kdrive kdrive: Use threaded input 2016-05-26 16:07:54 -07:00
vfb vfb: Re-add LD_EXPORT_SYMBOLS_FLAG to LDFLAGS 2016-03-23 14:47:24 -04:00
xfree86 xfree86: Provide xf86BlockSIGIO and xf86ReleaseSIGIO as wrappers for input mutex 2016-05-30 00:17:34 -07:00
xnest xnest: Fix needless build dependency on xcb-util-keysyms 2015-11-24 10:41:14 -05:00
xquartz XQuartz: Update copyright years 2016-05-04 00:08:34 -07:00
xwayland xwayland: Use the CLOCK_MONOTONIC clock 2016-05-31 08:44:38 +10:00
xwin hw/xwin: xcbify internal window manager 2016-04-07 10:31:39 +01:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00