summaryrefslogtreecommitdiff
path: root/include/X11
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-10-04 20:04:09 -0700
committerKeith Packard <keithp@neko.keithp.com>2006-10-04 20:04:09 -0700
commitab4207db14d70384f017cc2a22379d7c358b60e0 (patch)
treec74a28ced4cb1617ba052fa3a3ae3af4210e23b0 /include/X11
parentdd0fb435a0168d4041ecd81024d6493295651c61 (diff)
Remove mode origins. Add preferred mode count.
Diffstat (limited to 'include/X11')
-rw-r--r--include/X11/extensions/Xrandr.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/X11/extensions/Xrandr.h b/include/X11/extensions/Xrandr.h
index 827dcdc..418e97c 100644
--- a/include/X11/extensions/Xrandr.h
+++ b/include/X11/extensions/Xrandr.h
@@ -206,7 +206,6 @@ XRRSetScreenSize (Display *dpy, Window window,
int mmWidth, int mmHeight);
typedef unsigned long XRRModeFlags;
-typedef unsigned int XRRModeOrigin;
typedef unsigned int XRROutputOptions;
typedef struct _XRRModeInfo {
@@ -226,7 +225,6 @@ typedef struct _XRRModeInfo {
char *name;
unsigned int nameLength;
XRRModeFlags modeFlags;
- XRRModeOrigin origin;
} XRRModeInfo;
typedef struct _XRROutputConfig {
@@ -265,6 +263,7 @@ typedef struct _XRROutputInfo {
int nclone;
RROutput *clones;
int nmode;
+ int npreferred;
RRMode *modes;
} XRROutputInfo;