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 660c2a7d4c6cb52fd0992e9d2008a24805dc8c02)
This commit is contained in:
parent
20ac3140ce
commit
c18f454e4a
|
@ -615,7 +615,7 @@ ProcRRGetScreenInfo (ClientPtr client)
|
||||||
rep.pad = 0;
|
rep.pad = 0;
|
||||||
|
|
||||||
if (pScrPriv)
|
if (pScrPriv)
|
||||||
if (!RRGetInfo (pScreen, FALSE))
|
if (!RRGetInfo (pScreen, TRUE))
|
||||||
return BadAlloc;
|
return BadAlloc;
|
||||||
|
|
||||||
output = RRFirstOutput (pScreen);
|
output = RRFirstOutput (pScreen);
|
||||||
|
|
Loading…
Reference in New Issue