summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-19 17:34:36 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-19 17:34:36 +0930
commit332eee90c4d00be3b11049e0261323abe89a96dc (patch)
treeac48704a52224f531a7d75266854016ff7dfc5a3 /src
parent824f3d4a3a4669526a5c391c6668df0384b49cdb (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')
-rw-r--r--src/Xrandr.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Xrandr.c b/src/Xrandr.c
index b6068dc..8896675 100644
--- a/src/Xrandr.c
+++ b/src/Xrandr.c
@@ -272,13 +272,15 @@ int XRRRootToScreen(Display *dpy, Window root)
}
-Bool XRRQueryExtension (Display *dpy, int *event_basep, int *error_basep)
+Bool XRRQueryExtension (Display *dpy,
+ int *event_base_return,
+ int *error_base_return)
{
XExtDisplayInfo *info = XRRFindDisplay (dpy);
if (XextHasExtension(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 {
return False;