xserver/randr
Enrico Weigelt, metux IT consult ca361681f8 prevent name clash on Windows w/ RT_* defines
Windows' native headers using some our RT_* define's names for other things.
Since the naming isn't very nice anyways, introducing some new ones
(X11_RESTYPE_NONE, X11_RESTYPE_FONT, X11_RESTYPE_CURSOR) and define the old
ones as an alias to them, in case some out-of-tree code still uses them.

With thins change, we don't need to be so extremely careful about include
ordering and have explicit #undef's in order to prevent name clashes on
Win32 targets.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1355>
(cherry picked from commit 232cad9ec3)
2026-01-19 12:48:30 -08:00
..
meson.build meson: hide C API if Xorg is disabled (like autotools) 2021-03-11 00:22:36 +00:00
randr.c randr: move private definitons from randrstr.h to randrstr_priv.h 2026-01-19 12:32:18 -08:00
randrstr.h randr: move private definitons from randrstr.h to randrstr_priv.h 2026-01-19 12:32:18 -08:00
randrstr_priv.h randr: move private definitons from randrstr.h to randrstr_priv.h 2026-01-19 12:32:18 -08:00
rrcrtc.c randr: move private definitons from randrstr.h to randrstr_priv.h 2026-01-19 12:32:18 -08:00
rrdispatch.c prevent name clash on Windows w/ RT_* defines 2026-01-19 12:48:30 -08:00
rrinfo.c Convert top level extensions to new *allocarray functions 2015-04-21 16:57:08 -07:00
rrlease.c prevent name clash on Windows w/ RT_* defines 2026-01-19 12:48:30 -08:00
rrmode.c randr: move private definitons from randrstr.h to randrstr_priv.h 2026-01-19 12:32:18 -08:00
rrmonitor.c randr: move private definitons from randrstr.h to randrstr_priv.h 2026-01-19 12:32:18 -08:00
rroutput.c randr: move private definitons from randrstr.h to randrstr_priv.h 2026-01-19 12:32:18 -08:00
rrpointer.c randr: Fix logic in RRPointerToNearestCrtc 2014-07-30 14:40:17 -07:00
rrproperty.c randr: move private definitons from randrstr.h to randrstr_priv.h 2026-01-19 12:32:18 -08:00
rrprovider.c randr: drop duplicate _X_EXPORT from .c source 2026-01-19 12:32:19 -08:00
rrproviderproperty.c randr: move private definitons from randrstr.h to randrstr_priv.h 2026-01-19 12:32:18 -08:00
rrscreen.c randr: move private definitons from randrstr.h to randrstr_priv.h 2026-01-19 12:32:18 -08:00
rrsdispatch.c randr: move private definitons from randrstr.h to randrstr_priv.h 2026-01-19 12:32:18 -08:00
rrtransform.c randr: Silence -Wshift-negative-value warnings 2015-10-19 11:51:52 -04:00
rrtransform.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
rrxinerama.c randr: move private definitons from randrstr.h to randrstr_priv.h 2026-01-19 12:32:18 -08:00