summaryrefslogtreecommitdiff
path: root/presentproto.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-13 12:21:02 -0800
committerKeith Packard <keithp@keithp.com>2013-12-13 12:21:02 -0800
commite2763622941bc35db9a2dbf16e10bb830af07d67 (patch)
tree707401729d8108d144f3659142c07cc87e4bd026 /presentproto.h
parentff72e3fcfd48185c2e33d6eaa50b7ff100aaeabb (diff)
Don't define 'redirect' stuff in header files
Leave it all under #if PRESENT_FUTURE_VERSION for documentation Signed-off-by: Keith Packard <keithp@keithp.com>
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