summaryrefslogtreecommitdiff
path: root/src/Xcomposite.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-19 17:15:39 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-19 17:19:11 +0930
commit16ae68423eb30639d880445c6bbe70d539e4b198 (patch)
tree0cb6b5ee3605037857f436e9b0a29a554bb2c032 /src/Xcomposite.c
parente59817872ee6aec0544bd56ebb83ded9e4a5851c (diff)
Rename parameters to clarify QueryVersion/QueryExtension.
These parameters are not treated as input. Rename them to make the inner workings slightly more obvious. X.Org Bug 14511 <http://bugs.freedesktop.org/show_bug.cgi?id=14511>
Diffstat (limited to 'src/Xcomposite.c')
-rw-r--r--src/Xcomposite.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/Xcomposite.c b/src/Xcomposite.c
index e7d576a..33b5727 100644
--- a/src/Xcomposite.c
+++ b/src/Xcomposite.c
@@ -211,14 +211,16 @@ XCompositeFindDisplay (Display *dpy)
Bool
-XCompositeQueryExtension (Display *dpy, int *event_basep, int *error_basep)
+XCompositeQueryExtension (Display *dpy,
+ int *event_base_return,
+ int *error_base_return)
{
XCompositeExtDisplayInfo *info = XCompositeFindDisplay (dpy);
if (XCompositeHasExtension(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
@@ -227,14 +229,14 @@ XCompositeQueryExtension (Display *dpy, int *event_basep, int *error_basep)
Status
XCompositeQueryVersion (Display *dpy,
- int *major_versionp,
- int *minor_versionp)
+ int *major_version_return,
+ int *minor_version_return)
{
XCompositeExtDisplayInfo *info = XCompositeFindDisplay (dpy);
XCompositeCheckExtension (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;
}