diff options
author | Keith Packard <keithp@neko.keithp.com> | 2006-11-16 09:48:33 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-11-16 17:39:21 -0800 |
commit | 07b26e690cd9a4fc626132feed0702515cbe5a88 (patch) | |
tree | 5bd7d3fbd6a484f26f584a5b7d5ec32f725e75c6 /randr/rroutput.c | |
parent | 6ff7f2ad6a5e2e769244590578e6809974b5235d (diff) |
Remove RandR output options.
RandR output options are now expected to be handled by properties instead.
(cherry picked from commit 8b2a7e94a1dc2776ab2cfaaebb309be02502602a)
Diffstat (limited to 'randr/rroutput.c')
-rw-r--r-- | randr/rroutput.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/randr/rroutput.c b/randr/rroutput.c index 102587b50..8b760ec9a 100644 --- a/randr/rroutput.c +++ b/randr/rroutput.c @@ -65,8 +65,6 @@ RROutputCreate (const char *name, output->mmWidth = 0; output->mmHeight = 0; output->crtc = NULL; - output->currentOptions = 0; - output->possibleOptions = 0; output->numCrtcs = 0; output->crtcs = NULL; output->numClones = 0; @@ -223,17 +221,6 @@ RROutputSetCrtcs (RROutputPtr output, return TRUE; } -Bool -RROutputSetPossibleOptions (RROutputPtr output, - CARD32 possibleOptions) -{ - if (output->possibleOptions == possibleOptions) - return TRUE; - output->possibleOptions = possibleOptions; - RROutputChanged (output); - return TRUE; -} - void RROutputSetCrtc (RROutputPtr output, RRCrtcPtr crtc) { @@ -267,17 +254,6 @@ RROutputSetSubpixelOrder (RROutputPtr output, } Bool -RROutputSetCurrentOptions (RROutputPtr output, - CARD32 currentOptions) -{ - if (output->currentOptions == currentOptions) - return TRUE; - output->currentOptions = currentOptions; - RROutputChanged (output); - return TRUE; -} - -Bool RROutputSetPhysicalSize (RROutputPtr output, int mmWidth, int mmHeight) @@ -413,7 +389,6 @@ ProcRRGetOutputInfo (ClientPtr client) rep.length = OutputInfoExtra >> 2; rep.timestamp = pScrPriv->lastSetTime.milliseconds; rep.crtc = output->crtc ? output->crtc->id : None; - rep.currentOptions = output->currentOptions; rep.mmWidth = output->mmWidth; rep.mmHeight = output->mmHeight; rep.connection = output->connection; @@ -423,7 +398,6 @@ ProcRRGetOutputInfo (ClientPtr client) rep.nPreferred = output->numPreferred; rep.nClones = output->numClones; rep.nameLength = output->nameLength; - rep.possibleOptions = output->possibleOptions; extraLen = ((output->numCrtcs + output->numModes + @@ -469,15 +443,12 @@ ProcRRGetOutputInfo (ClientPtr client) swapl(&rep.length, n); swapl(&rep.timestamp, n); swapl(&rep.crtc, n); - swapl(&rep.currentOptions, n); swapl(&rep.mmWidth, n); swapl(&rep.mmHeight, n); swaps(&rep.nCrtcs, n); swaps(&rep.nModes, n); swaps(&rep.nClones, n); - swapl(&rep.possibleOptions, n); swaps(&rep.nameLength, n); - swapl(&rep.possibleOptions, n); } WriteToClient(client, sizeof(xRRGetOutputInfoReply), (char *)&rep); if (extraLen) |