diff options
Diffstat (limited to 'src/Xfixes.c')
-rw-r--r-- | src/Xfixes.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/Xfixes.c b/src/Xfixes.c index cf56b5a..05bfac2 100644 --- a/src/Xfixes.c +++ b/src/Xfixes.c @@ -297,14 +297,16 @@ XFixesEventToWire(Display *dpy, XEvent *event, xEvent *wire) } Bool -XFixesQueryExtension (Display *dpy, int *event_basep, int *error_basep) +XFixesQueryExtension (Display *dpy, + int *event_base_return, + int *error_base_return) { XFixesExtDisplayInfo *info = XFixesFindDisplay (dpy); if (XFixesHasExtension(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 @@ -313,15 +315,15 @@ XFixesQueryExtension (Display *dpy, int *event_basep, int *error_basep) Status XFixesQueryVersion (Display *dpy, - int *major_versionp, - int *minor_versionp) + int *major_version_return, + int *minor_version_return) { XFixesExtDisplayInfo *info = XFixesFindDisplay (dpy); XFixesCheckExtension (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; } |