summaryrefslogtreecommitdiff
path: root/x11perf.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11perf.h')
-rw-r--r--x11perf.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/x11perf.h b/x11perf.h
index 396f6a0..c755e07 100644
--- a/x11perf.h
+++ b/x11perf.h
@@ -61,12 +61,17 @@ typedef unsigned char Version;
#define VERSION1_4 ((Version)(1 << 2))
#define VERSION1_5 ((Version)(1 << 3))
#define VERSION1_6 ((Version)(1 << 4))
+#define VERSION1_7 ((Version)(1 << 5))
+
#define V1_2ONLY VERSION1_2
-#define V1_2FEATURE (VERSION1_2 | VERSION1_3 | VERSION1_4 | VERSION1_5 | VERSION1_6)
-#define V1_3FEATURE (VERSION1_3 | VERSION1_4 | VERSION1_5 | VERSION1_6)
-#define V1_4FEATURE (VERSION1_4 | VERSION1_5 | VERSION1_6)
-#define V1_5FEATURE (VERSION1_5 | VERSION1_6)
-#define V1_6FEATURE (VERSION1_6)
+
+/* Each V1_*FEATURE flag includes all later versions */
+#define V1_7FEATURE (VERSION1_7)
+#define V1_6FEATURE (VERSION1_6 | V1_7FEATURE)
+#define V1_5FEATURE (VERSION1_5 | V1_6FEATURE)
+#define V1_4FEATURE (VERSION1_4 | V1_5FEATURE)
+#define V1_3FEATURE (VERSION1_3 | V1_4FEATURE)
+#define V1_2FEATURE (VERSION1_2 | V1_3FEATURE)
typedef struct _Parms {
/* Required fields */