diff options
Diffstat (limited to 'randr/rroutput.c')
-rw-r--r-- | randr/rroutput.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/randr/rroutput.c b/randr/rroutput.c index e00116283..a67e4931a 100644 --- a/randr/rroutput.c +++ b/randr/rroutput.c @@ -249,6 +249,7 @@ RROutputDeleteUserMode (RROutputPtr output, memmove (output->userModes + m, output->userModes + m + 1, (output->numUserModes - m - 1) * sizeof (RRModePtr)); + output->numUserModes--; RRModeDestroy (mode); return Success; } @@ -286,15 +287,6 @@ RROutputSetCrtcs (RROutputPtr output, return TRUE; } -void -RROutputSetCrtc (RROutputPtr output, RRCrtcPtr crtc) -{ - if (output->crtc == crtc) - return; - output->crtc = crtc; - RROutputChanged (output, FALSE); -} - Bool RROutputSetConnection (RROutputPtr output, CARD8 connection) |