compat-api.h: drop compat for ancient Xservers

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-12-31 14:07:32 +01:00
parent 322b48c9fd
commit 255366573e

View File

@@ -67,13 +67,8 @@ region_get_boxes(const RegionRec *r, const BoxRec **s, const BoxRec **e)
#define __get_private(p, key) dixGetPrivateAddr(&(p)->devPrivates, &(key))
#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,9,99,902,0)
#define SourceValidate(d, x, y, w, h, mode) \
if ((d)->pScreen->SourceValidate) (d)->pScreen->SourceValidate(d, x, y, w, h, mode)
#else
#define SourceValidate(d, x, y, w, h, mode) \
if ((d)->pScreen->SourceValidate) (d)->pScreen->SourceValidate(d, x, y, w, h)
#endif
#define DamageUnregister(d, dd) DamageUnregister(dd)