summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-01-09 16:21:13 -0800
committerEric Anholt <eric@anholt.net>2007-01-09 16:21:13 -0800
commit0b69465a3b118f3fe1c9b0c206996d510ccbec36 (patch)
treedf8e08c38cac1e7767ee038c960b5619e8b1f8b2
parent0d7f8e4f151480ee1415bd5a13799ad6385a8df3 (diff)
Track rename of DamagePost to DamageAdd.libXdamage-1.1
-rw-r--r--include/X11/extensions/Xdamage.h2
-rw-r--r--src/Xdamage.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/include/X11/extensions/Xdamage.h b/include/X11/extensions/Xdamage.h
index 8fa9420..b55da38 100644
--- a/include/X11/extensions/Xdamage.h
+++ b/include/X11/extensions/Xdamage.h
@@ -66,7 +66,7 @@ XDamageSubtract (Display *dpy, Damage damage,
XserverRegion repair, XserverRegion parts);
void
-XDamagePost (Display *dpy, Drawable drawable, XserverRegion region);
+XDamageAdd (Display *dpy, Drawable drawable, XserverRegion region);
_XFUNCPROTOEND
diff --git a/src/Xdamage.c b/src/Xdamage.c
index 5a16ce9..213834c 100644
--- a/src/Xdamage.c
+++ b/src/Xdamage.c
@@ -365,17 +365,17 @@ XDamageSubtract (Display *dpy, Damage damage,
}
void
-XDamagePost (Display *dpy, Drawable drawable, XserverRegion region)
+XDamageAdd (Display *dpy, Drawable drawable, XserverRegion region)
{
XDamageExtDisplayInfo *info = XDamageFindDisplay (dpy);
- xDamagePostReq *req;
+ xDamageAddReq *req;
int len;
XDamageSimpleCheckExtension (dpy, info);
LockDisplay (dpy);
- GetReq (DamagePost, req);
+ GetReq (DamageAdd, req);
req->reqType = info->codes->major_opcode;
- req->damageReqType = X_DamagePost;
+ req->damageReqType = X_DamageAdd;
req->drawable = drawable;
req->region = region;