[PATCH 3/4] randr: only respected changed on the protocol screen

Dave Airlie airlied at gmail.com
Tue Jan 8 20:32:49 PST 2013


From: Dave Airlie <airlied at redhat.com>

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.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 randr/randr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/randr/randr.c b/randr/randr.c
index fb0895d..cb6fce7 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;
-- 
1.8.1



More information about the xorg-devel mailing list