summaryrefslogtreecommitdiff
path: root/randr/randrstr.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@jbarnes-t61.(none)>2008-03-17 14:13:09 -0700
committerJesse Barnes <jbarnes@jbarnes-t61.(none)>2008-03-17 14:13:09 -0700
commitba85caacb565b9aa0aeace52a362350304b0566d (patch)
treedbb1dede18cfba3f6ef458a29f21fe50b8a8afa9 /randr/randrstr.h
parentbee2ddf35f75086cee951142098637f2c756b96b (diff)
Make xf86SetDesiredModes aware of current output configuration
By adding a new output callback, ->get_crtc, xf86SetDesiredModes is able to avoid turning off outputs & CRTCs if the current output<->CRTC mappings are the same as the desired configuration. This helps avoid flickering displays at startup time, which speeds things up a little and looks better.
Diffstat (limited to 'randr/randrstr.h')
-rw-r--r--randr/randrstr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h
index 4d7c9ccfc..62d4bbf46 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -55,6 +55,7 @@
#define RANDR_10_INTERFACE 1
#define RANDR_12_INTERFACE 1
#define RANDR_13_INTERFACE 1 /* requires RANDR_12_INTERFACE */
+#define RANDR_GET_CRTC_INTERFACE 1
#define RANDR_INTERFACE_VERSION 0x0103