xserver/include
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
..
.gitignore
Makefile.am vidmode: move to a separate library of its own 2016-02-29 16:29:01 -05:00
XIstubs.h
Xprintf.h
busfault.h
callback.h
client.h
closestr.h
closure.h
colormap.h
colormapst.h
cursor.h
cursorstr.h
dbus-core.h
displaymode.h vidmode: move display mode definitions 2016-02-29 16:28:57 -05:00
dix-config-apple-verbatim.h
dix-config.h.in Create a threaded mechanism for input [v7] 2016-05-26 16:07:54 -07:00
dix.h dix: Add RootWindowFinalizeCallback 2016-04-18 11:22:58 -04:00
dixaccess.h
dixevents.h
dixfont.h
dixfontstr.h
dixfontstubs.h
dixgrabs.h
dixstruct.h
eventconvert.h
events.h
eventstr.h
exevents.h
extension.h
extinit.h
extnsionst.h
gc.h
gcstruct.h
globals.h
glx_extinit.h
hotplug.h
input.h Create a threaded mechanism for input [v7] 2016-05-26 16:07:54 -07:00
inputstr.h
inpututils.h
kdrive-config.h.in
list.h
misc.h Create a threaded mechanism for input [v7] 2016-05-26 16:07:54 -07:00
miscstruct.h
nonsdk_extinit.h
opaque.h
optionstr.h
os.h xwayland: Use the CLOCK_MONOTONIC clock 2016-05-31 08:44:38 +10:00
pixmap.h
pixmapstr.h
privates.h
probes.h
property.h
propertyst.h
protocol-versions.h
ptrveloc.h
region.h
regionstr.h
registry.h
resource.h
rgb.h
screenint.h
scrnintstr.h
selection.h
servermd.h
site.h
swaprep.h
swapreq.h
systemd-logind.h
validate.h
version-config.h.in
vidmodestr.h vidmode: build without xf86vidmodeproto 2016-03-01 11:25:59 -05:00
window.h dix: Add hybrid full-size/empty-clip mode to SetRootClip 2016-02-22 13:26:31 -05:00
windowstr.h
xkb-config.h.in
xkbfile.h
xkbrules.h
xkbsrv.h xkb: after changing the keymap, force an indicator update 2016-05-04 10:55:09 -04:00
xkbstr.h
xorg-config.h.in Remove SIGIO support for input [v5] 2016-05-26 16:07:54 -07:00
xorg-server.h.in
xserver-properties.h
xsha1.h
xwin-config.h.in