summaryrefslogtreecommitdiff
path: root/randr/rrinfo.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@guitar.keithp.com>2006-10-03 21:06:11 -0700
committerKeith Packard <keithp@guitar.keithp.com>2006-10-03 21:06:11 -0700
commitc4f30c63538e1451f15ed1991439869127d9b148 (patch)
tree3bf1beea337d3a60d5c057d61ef66256c8676d5a /randr/rrinfo.c
parentb36fde9257263fa502147df37e8331184c323e14 (diff)
Add mode origins and output options. Fix memmoves in resource free funcs.
Output options and mode origins both affected driver ABI. memmove mistakes were causing 'Freeing resource which isn't there' messages. Prune unused non-user defined modes from available list now.
Diffstat (limited to 'randr/rrinfo.c')
-rw-r--r--randr/rrinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/randr/rrinfo.c b/randr/rrinfo.c
index 491ac218d..6fd4ee581 100644
--- a/randr/rrinfo.c
+++ b/randr/rrinfo.c
@@ -208,6 +208,7 @@ RRGetInfo (ScreenPtr pScreen)
if (pScrPriv->nSizes)
RRScanOldConfig (pScreen, rotations);
#endif
+ RRModePruneUnused (pScreen);
RRTellChanged (pScreen);
return TRUE;
}