aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/include/extensions/compositeproto.h
diff options
context:
space:
mode:
authorMihai Moldovan <ïonic@ionic.de>2016-04-09 19:40:24 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-05-31 12:11:59 +0200
commit7d2dd2aac913d4735f3c994772050ced6698efc6 (patch)
treef9ee40f888f0fef669d4fbb2c2dbb86bb124f296 /nx-X11/include/extensions/compositeproto.h
parentfe3fa5ef382d3475b1a2f62eac85f5b5847b9b5d (diff)
downloadnx-libs-7d2dd2aac913d4735f3c994772050ced6698efc6.tar.gz
nx-libs-7d2dd2aac913d4735f3c994772050ced6698efc6.tar.bz2
nx-libs-7d2dd2aac913d4735f3c994772050ced6698efc6.zip
misc nx-X11/{programs/Xserver/composite,include/extensions}: update to Composite 0.4 - with changes where neccessary and rough edges.
Diffstat (limited to 'nx-X11/include/extensions/compositeproto.h')
-rw-r--r--nx-X11/include/extensions/compositeproto.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/nx-X11/include/extensions/compositeproto.h b/nx-X11/include/extensions/compositeproto.h
index a851c727e..51103f389 100644
--- a/nx-X11/include/extensions/compositeproto.h
+++ b/nx-X11/include/extensions/compositeproto.h
@@ -30,6 +30,7 @@
#define Window CARD32
#define Region CARD32
+#define Pixmap CARD32
/*
* requests and replies
@@ -129,7 +130,43 @@ typedef struct {
#define sz_xCompositeNameWindowPixmapReq 12
+/* Version 0.3 additions */
+
+typedef struct {
+ CARD8 reqType;
+ CARD8 compositeReqType;
+ CARD16 length B16;
+ Window window B32;
+} xCompositeGetOverlayWindowReq;
+
+#define sz_xCompositeGetOverlayWindowReq sizeof(xCompositeGetOverlayWindowReq)
+
+typedef struct {
+ BYTE type; /* X_Reply */
+ BYTE pad1;
+ CARD16 sequenceNumber B16;
+ CARD32 length B32;
+ Window overlayWin B32;
+ CARD32 pad2 B32;
+ CARD32 pad3 B32;
+ CARD32 pad4 B32;
+ CARD32 pad5 B32;
+ CARD32 pad6 B32;
+} xCompositeGetOverlayWindowReply;
+
+#define sz_xCompositeGetOverlayWindowReply sizeof(xCompositeGetOverlayWindowReply)
+
+typedef struct {
+ CARD8 reqType;
+ CARD8 compositeReqType;
+ CARD16 length B16;
+ Window window B32;
+} xCompositeReleaseOverlayWindowReq;
+
+#define sz_xCompositeReleaseOverlayWindowReq sizeof(xCompositeReleaseOverlayWindowReq)
+
#undef Window
#undef Region
+#undef Pixmap
#endif /* _COMPOSITEPROTO_H_ */