summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2009-02-12 18:27:48 -0800
committerAaron Plattner <aplattner@nvidia.com>2009-02-13 12:39:35 -0800
commit660c2a7d4c6cb52fd0992e9d2008a24805dc8c02 (patch)
tree231e5b220e11efbfa19b8d24b2fa535f00d7a494 /randr
parent34724f45512e311377b972da480d35304fd687cc (diff)
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>
Diffstat (limited to 'randr')
-rw-r--r--randr/rrscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/randr/rrscreen.c b/randr/rrscreen.c
index da633b237..36ef86ece 100644
--- a/randr/rrscreen.c
+++ b/randr/rrscreen.c
@@ -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);