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:
parent
20ac3140ce
commit
c18f454e4a
|
@ -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