patch for compositeproto.h to temporarily define Pixmap?

Jeremy C. Reed reed at reedmedia.net
Fri Jul 27 07:33:56 PDT 2007


Okay if I commit the following?

This is from pkgsrc. I guess some use of this on some system didn't have 
Pixmap defined.

diff --git a/compositeproto.h b/compositeproto.h
index c57628c..2e392e2 100644
--- a/compositeproto.h
+++ b/compositeproto.h
@@ -51,6 +51,7 @@
 
 #define Window CARD32
 #define Region CARD32
+#define Pixmap CARD32
 
 /* 
  * requests and replies
@@ -187,5 +188,6 @@ typedef struct {
 
 #undef Window
 #undef Region
+#undef Pixmap
 
 #endif /* _COMPOSITEPROTO_H_ */

  Jeremy C. Reed



More information about the xorg mailing list