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>
This commit is contained in:
parent
b3f70f38ed
commit
b724324252
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue