summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-01-05 17:56:58 -0800
committerEric Anholt <eric@anholt.net>2007-01-05 17:58:53 -0800
commit716d84889f90880c634136e9c1e754edd587ea9e (patch)
tree02d67b2b0a5fe41402ddf7ccb5f88e3fc418c7d8 /include
parentc3c2777a7805c95f7d7bf64998e188d0eba65cba (diff)
Add a request to report a region of damage against a drawable.
This brings the library up to supporting version 1.1 of the protocol. Bump package version accordingly.
Diffstat (limited to 'include')
-rw-r--r--include/X11/extensions/Xdamage.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/X11/extensions/Xdamage.h b/include/X11/extensions/Xdamage.h
index 3fd9e3d..8fa9420 100644
--- a/include/X11/extensions/Xdamage.h
+++ b/include/X11/extensions/Xdamage.h
@@ -29,6 +29,8 @@
#include <X11/extensions/Xfixes.h>
#include <X11/Xfuncproto.h>
+#define XDAMAGE_1_1_INTERFACE
+
typedef XID Damage;
typedef struct {
@@ -63,6 +65,9 @@ void
XDamageSubtract (Display *dpy, Damage damage,
XserverRegion repair, XserverRegion parts);
+void
+XDamagePost (Display *dpy, Drawable drawable, XserverRegion region);
+
_XFUNCPROTOEND
#endif /* _XDAMAGE_H_ */