summaryrefslogtreecommitdiff
path: root/randr/randrstr.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@mandolin.keithp.com>2006-11-01 00:29:46 -0800
committerKeith Packard <keithp@mandolin.keithp.com>2006-11-01 00:29:46 -0800
commit4056e6e79a4e37101d298ae29139c83d3816368b (patch)
treebe8d982fb4855ac338d4113fb611f62fddc93a68 /randr/randrstr.h
parente21604914dccece6bc64c69b55512d1f1a969235 (diff)
Move physical size from mode to output.
Modes can be shared across different sized monitors this way. Also caught some missing byteswapping and an incorrect return type.
Diffstat (limited to 'randr/randrstr.h')
-rw-r--r--randr/randrstr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h
index a8a995026..60877a3c1 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -107,6 +107,8 @@ struct _rrOutput {
int nameLength;
CARD8 connection;
CARD8 subpixelOrder;
+ int mmWidth;
+ int mmHeight;
RRCrtcPtr crtc;
CARD32 currentOptions;
CARD32 possibleOptions;
@@ -642,6 +644,11 @@ Bool
RROutputSetCurrentOptions (RROutputPtr output,
CARD32 currentOptions);
+Bool
+RROutputSetPhysicalSize (RROutputPtr output,
+ int mmWidth,
+ int mmHeight);
+
void
RRDeliverOutputEvent(ClientPtr client, WindowPtr pWin, RROutputPtr output);