summaryrefslogtreecommitdiff
path: root/src/compat-api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat-api.h')
-rw-r--r--src/compat-api.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compat-api.h b/src/compat-api.h
index 05797a08..336698d3 100644
--- a/src/compat-api.h
+++ b/src/compat-api.h
@@ -260,4 +260,10 @@ static inline void FreePixmap(PixmapPtr pixmap)
#define RemoveNotifyFd(fd) RemoveGeneralSocket(fd)
#endif
+#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(25, 2)
+#define PixmapDirtyDst(d) ((d)->secondary_dst)
+#else
+#define PixmapDirtyDst(d) ((d)->slave_dst)
+#endif
+
#endif