summaryrefslogtreecommitdiff
path: root/damageproto.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-01-05 17:52:49 -0800
committerEric Anholt <eric@anholt.net>2007-01-05 17:52:49 -0800
commitdf33455a4506362eff4d393dc7d58c9d73ddf870 (patch)
tree1b0845edfaa0b7655f34bbdf9e518735de2c94a2 /damageproto.h
parent03e7a652b1674530e0d06ca8e2f869c0ba473f9f (diff)
Add a request to report a region of damage to a drawable.
This bumps the protocol (and package) version to 1.1.
Diffstat (limited to 'damageproto.h')
-rw-r--r--damageproto.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/damageproto.h b/damageproto.h
index feeb051..23e1155 100644
--- a/damageproto.h
+++ b/damageproto.h
@@ -115,6 +115,16 @@ typedef struct {
#define sz_xDamageSubtractReq 16
+typedef struct {
+ CARD8 reqType;
+ CARD8 damageReqType;
+ CARD16 length B16;
+ Drawable drawable B32;
+ Region region B32;
+} xDamagePostReq;
+
+#define sz_xDamagePostReq 12
+
/* Events */
#define DamageNotifyMore 0x80