summaryrefslogtreecommitdiff
path: root/include/X11
diff options
context:
space:
mode:
Diffstat (limited to 'include/X11')
-rw-r--r--include/X11/extensions/Xrandr.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/X11/extensions/Xrandr.h b/include/X11/extensions/Xrandr.h
index de18f3b..892fae8 100644
--- a/include/X11/extensions/Xrandr.h
+++ b/include/X11/extensions/Xrandr.h
@@ -120,10 +120,12 @@ typedef struct {
/* internal representation is private to the library */
typedef struct _XRRScreenConfiguration XRRScreenConfiguration;
-Bool XRRQueryExtension (Display *dpy, int *event_basep, int *error_basep);
+Bool XRRQueryExtension (Display *dpy,
+ int *event_base_return,
+ int *error_base_return);
Status XRRQueryVersion (Display *dpy,
- int *major_versionp,
- int *minor_versionp);
+ int *major_version_return,
+ int *minor_version_return);
XRRScreenConfiguration *XRRGetScreenInfo (Display *dpy,
Window window);
@@ -178,8 +180,6 @@ int XRRRootToScreen(Display *dpy, Window root);
*/
-XRRScreenConfiguration *XRRScreenConfig(Display *dpy, int screen);
-XRRScreenConfiguration *XRRConfig(Screen *screen);
void XRRSelectInput(Display *dpy, Window window, int mask);
/*
@@ -374,6 +374,9 @@ XRRFreeGamma (XRRCrtcGamma *gamma);
/* Version 1.3 additions */
+XRRScreenResources *
+XRRGetScreenResourcesCurrent (Display *dpy, Window window);
+
void
XRRSetCrtcTransform (Display *dpy,
RRCrtc crtc,