summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Packard <keithp@guitar.keithp.com>2006-10-03 21:03:10 -0700
committerKeith Packard <keithp@guitar.keithp.com>2006-10-03 21:03:10 -0700
commitdd0fb435a0168d4041ecd81024d6493295651c61 (patch)
tree2702741708910e7ad682aa7d878c335507004617 /include
parentcb1dbb7c2446ddf514ee709fba940cc4e75438a0 (diff)
Add mode origins and output options.
Diffstat (limited to 'include')
-rw-r--r--include/X11/extensions/Xrandr.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/X11/extensions/Xrandr.h b/include/X11/extensions/Xrandr.h
index f56331c..827dcdc 100644
--- a/include/X11/extensions/Xrandr.h
+++ b/include/X11/extensions/Xrandr.h
@@ -206,6 +206,8 @@ XRRSetScreenSize (Display *dpy, Window window,
int mmWidth, int mmHeight);
typedef unsigned long XRRModeFlags;
+typedef unsigned int XRRModeOrigin;
+typedef unsigned int XRROutputOptions;
typedef struct _XRRModeInfo {
RRMode id;
@@ -224,8 +226,14 @@ typedef struct _XRRModeInfo {
char *name;
unsigned int nameLength;
XRRModeFlags modeFlags;
+ XRRModeOrigin origin;
} XRRModeInfo;
+typedef struct _XRROutputConfig {
+ RROutput output;
+ XRROutputOptions options;
+} XRROutputConfig;
+
typedef struct _XRRScreenResources {
Time timestamp;
Time configTimestamp;
@@ -248,8 +256,10 @@ typedef struct _XRROutputInfo {
RRCrtc crtc;
char *name;
int nameLen;
+ XRROutputOptions current_options;
Connection connection;
SubpixelOrder subpixel_order;
+ XRROutputOptions possible_options;
int ncrtc;
RRCrtc *crtcs;
int nclone;
@@ -329,7 +339,7 @@ XRRSetCrtcConfig (Display *dpy,
int x, int y,
RRMode mode,
Rotation rotation,
- RROutput *outputs,
+ XRROutputConfig *outputs,
int noutputs);
int