summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2013-01-09 14:25:43 +1000
committerDave Airlie <airlied@redhat.com>2013-04-30 10:08:43 +1000
commitb724324252d13ff95f62eebd12d125b194d2ccc2 (patch)
tree0649138a320cfee7b63ec9a0c4382076a715f73f
parentb3f70f38edebac87afe9351538365292f1aaaff3 (diff)
randr: only respected changed on the protocol screen
We don't want to know about changes on the non-protocol screen, we will fix up setchanged to make sure non-protocol screens update the protocol screens when they have a change. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--randr/randr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/randr/randr.c b/randr/randr.c
index fb0895d7a..cb6fce7cd 100644
--- a/randr/randr.c
+++ b/randr/randr.c
@@ -506,7 +506,7 @@ RRTellChanged(ScreenPtr pScreen)
mastersp = pScrPriv;
}
- if (pScrPriv->changed) {
+ if (mastersp->changed) {
UpdateCurrentTimeIf();
if (mastersp->configChanged) {
mastersp->lastConfigTime = currentTime;