diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Xdamage.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |