summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;