summaryrefslogtreecommitdiff
path: root/presentproto.h
diff options
context:
space:
mode:
Diffstat (limited to 'presentproto.h')
-rw-r--r--presentproto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/presentproto.h b/presentproto.h
index ee65fa4..08ddc05 100644
--- a/presentproto.h
+++ b/presentproto.h
@@ -196,6 +196,7 @@ typedef struct {
} xPresentIdleNotify;
#define sz_xPresentIdleNotify 32
+#if PRESENT_FUTURE_VERSION
typedef struct {
CARD8 type;
CARD8 extension;
@@ -236,6 +237,7 @@ typedef struct {
} xPresentRedirectNotify;
#define sz_xPresentRedirectNotify 104
+#endif
#undef Window
#undef Pixmap