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>
This commit is contained in:
parent
34724f4551
commit
660c2a7d4c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user