summaryrefslogtreecommitdiff
path: root/randr/randrstr.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-01-30 19:06:17 -0800
committerEric Anholt <eric@anholt.net>2009-01-30 19:35:55 -0800
commit317f2b4a9fe4b606975711bc332166a82db5087d (patch)
treeeec63b4f44dee976577a6b051f2c9d138df28e65 /randr/randrstr.h
parentc1f2be1f3fd0c80cb4c85b98140b98aa9311242b (diff)
randr: Avoid re-querying the configuration on everything but GetScreenResources.
The new path should only re-query on the other requests when we haven't gathered the information from the DDX yet (such as with a non-RandR 1.2 DDX). Bug #19037.
Diffstat (limited to 'randr/randrstr.h')
-rw-r--r--randr/randrstr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h
index 93960e57e..5e70aa3bf 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -469,7 +469,7 @@ RRTellChanged (ScreenPtr pScreen);
* Poll the driver for changed information
*/
extern _X_EXPORT Bool
-RRGetInfo (ScreenPtr pScreen);
+RRGetInfo (ScreenPtr pScreen, Bool force_query);
extern _X_EXPORT Bool RRInit (void);