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 f4e7524f..def6d3e4 100644
--- a/src/compat-api.h
+++ b/src/compat-api.h
@@ -34,4 +34,10 @@
#define BLOCKHANDLER_ARGS pScreen, pTimeout, pReadmask
#endif
+#if ABI_VIDEODRV_VERSION < SET_ABI_VERSION(25, 2)
+#define current_primary current_master
+#define primary_pixmap master_pixmap
+#define secondary_dst slave_dst
+#endif
+
#endif