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>
(cherry picked from commit e233bda3e7)
This commit is contained in:
Dave Airlie 2013-01-09 14:25:43 +10:00
parent 8d923f090f
commit 33b110d2dd

View file

@ -506,7 +506,7 @@ RRTellChanged(ScreenPtr pScreen)
mastersp = pScrPriv; mastersp = pScrPriv;
} }
if (pScrPriv->changed) { if (mastersp->changed) {
UpdateCurrentTimeIf(); UpdateCurrentTimeIf();
if (mastersp->configChanged) { if (mastersp->configChanged) {
mastersp->lastConfigTime = currentTime; mastersp->lastConfigTime = currentTime;