diff options
Diffstat (limited to 'src/Xdamage.c')
-rw-r--r-- | src/Xdamage.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/Xdamage.c b/src/Xdamage.c index c699a15..a3966d6 100644 --- a/src/Xdamage.c +++ b/src/Xdamage.c @@ -282,14 +282,16 @@ XDamageEventToWire(Display *dpy, XEvent *event, xEvent *wire) } Bool -XDamageQueryExtension (Display *dpy, int *event_basep, int *error_basep) +XDamageQueryExtension (Display *dpy, + int *event_base_return, + int *error_base_return) { XDamageExtDisplayInfo *info = XDamageFindDisplay (dpy); if (XDamageHasExtension(info)) { - *event_basep = info->codes->first_event; - *error_basep = info->codes->first_error; + *event_base_return = info->codes->first_event; + *error_base_return = info->codes->first_error; return True; } else @@ -298,15 +300,15 @@ XDamageQueryExtension (Display *dpy, int *event_basep, int *error_basep) Status XDamageQueryVersion (Display *dpy, - int *major_versionp, - int *minor_versionp) + int *major_version_return, + int *minor_version_return) { XDamageExtDisplayInfo *info = XDamageFindDisplay (dpy); XDamageCheckExtension (dpy, info, 0); - *major_versionp = info->major_version; - *minor_versionp = info->minor_version; + *major_version_return = info->major_version; + *minor_version_return = info->minor_version; return 1; } |