Query the DDX in ProcRRGetScreenInfo.

This is the RandR 1.1 version of GetScreenResources and needs to re-query the
DDX to see if the mode pool changed.

Fixes Launchpad bug #325115.
Signed-off-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit 660c2a7d4c)
This commit is contained in:
Aaron Plattner 2009-02-12 18:27:48 -08:00
parent 20ac3140ce
commit c18f454e4a

View File

@ -615,7 +615,7 @@ ProcRRGetScreenInfo (ClientPtr client)
rep.pad = 0;
if (pScrPriv)
if (!RRGetInfo (pScreen, FALSE))
if (!RRGetInfo (pScreen, TRUE))
return BadAlloc;
output = RRFirstOutput (pScreen);