<div dir="ltr">Reviewed-by: Jasper St. Pierre <<a href="mailto:jstpierre@mecheye.net">jstpierre@mecheye.net</a>><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 11, 2013 at 1:29 PM, Adam Jackson <span dir="ltr"><<a href="mailto:ajax@redhat.com" target="_blank">ajax@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you don't do this then the client libs on 64-bit machines see them as<br>
XIDs, which are 64-bit wide (sigh), which ruins the wire encoding and<br>
nothing works.<br>
<br>
Signed-off-by: Adam Jackson <<a href="mailto:ajax@redhat.com">ajax@redhat.com</a>><br>
---<br>
 presentproto.h | 4 ++++<br>
 1 file changed, 4 insertions(+)<br>
<br>
diff --git a/presentproto.h b/presentproto.h<br>
index 8303a94..ee65fa4 100644<br>
--- a/presentproto.h<br>
+++ b/presentproto.h<br>
@@ -25,6 +25,8 @@<br>
<br>
 #include <X11/extensions/presenttokens.h><br>
<br>
+#define Window CARD32<br>
+#define Pixmap CARD32<br>
 #define Region CARD32<br>
 #define XSyncFence CARD32<br>
 #define EventID CARD32<br>
@@ -235,6 +237,8 @@ typedef struct {<br>
<br>
 #define sz_xPresentRedirectNotify 104<br>
<br>
+#undef Window<br>
+#undef Pixmap<br>
 #undef Region<br>
 #undef XSyncFence<br>
 #undef EventID<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.4.2<br>
<br>
_______________________________________________<br>
<a href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development<br>
Archives: <a href="http://lists.x.org/archives/xorg-devel" target="_blank">http://lists.x.org/archives/xorg-devel</a><br>
Info: <a href="http://lists.x.org/mailman/listinfo/xorg-devel" target="_blank">http://lists.x.org/mailman/listinfo/xorg-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>  Jasper<br>
</div>