diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-10-31 17:48:43 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-10-31 17:48:43 +0000 |
commit | 0d2f28efc0fc1ed84fbdd2f337634861698bc009 (patch) | |
tree | b95edbfcc86fbd4fbeffd9634f84448f1cd9e015 /lib/libXdamage/include | |
parent | 59a4b2b7f5822325ef3f32e3e9ba1fdde3d81d44 (diff) |
Update to libXdamage 1.1.2
Diffstat (limited to 'lib/libXdamage/include')
-rw-r--r-- | lib/libXdamage/include/X11/extensions/Xdamage.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/libXdamage/include/X11/extensions/Xdamage.h b/lib/libXdamage/include/X11/extensions/Xdamage.h index 04fd8d152..0e8a89ed0 100644 --- a/lib/libXdamage/include/X11/extensions/Xdamage.h +++ b/lib/libXdamage/include/X11/extensions/Xdamage.h @@ -1,5 +1,5 @@ /* - * $Id: Xdamage.h,v 1.1 2006/11/25 17:01:38 matthieu Exp $ + * $Id: Xdamage.h,v 1.2 2009/10/31 17:48:42 matthieu Exp $ * * Copyright © 2003 Keith Packard * @@ -29,6 +29,8 @@ #include <X11/extensions/Xfixes.h> #include <X11/Xfuncproto.h> +#define XDAMAGE_1_1_INTERFACE + typedef XID Damage; typedef struct { @@ -47,11 +49,13 @@ typedef struct { _XFUNCPROTOBEGIN -Bool XDamageQueryExtension (Display *dpy, int *event_basep, int *error_basep); +Bool XDamageQueryExtension (Display *dpy, + int *event_base_return, + int *error_base_return); Status XDamageQueryVersion (Display *dpy, - int *major_versionp, - int *minor_versionp); + int *major_version_return, + int *minor_version_return); Damage XDamageCreate (Display *dpy, Drawable drawable, int level); @@ -63,6 +67,9 @@ void XDamageSubtract (Display *dpy, Damage damage, XserverRegion repair, XserverRegion parts); +void +XDamageAdd (Display *dpy, Drawable drawable, XserverRegion region); + _XFUNCPROTOEND #endif /* _XDAMAGE_H_ */ |