[PATCH 1/1] randr: make RROutputChanged change the main protocol screen not the gpu screen

Keith Packard keithp at keithp.com
Wed Dec 11 10:51:00 PST 2013


Alberto Milone <alberto.milone at canonical.com> writes:

> +    if (pScreen->isGPU) {
> +        master = pScreen->current_master;
> +        if (!master)
> +            return;
> +        mastersp = rrGetScrPriv(master);
>      }
> +    else {
> +        master = pScreen;
> +        mastersp = pScrPriv;
> +    }
> +
> +    RRSetChanged(pScreen);

Don't you want to pass 'master' here?

> +    if (configChanged)
> +        mastersp->configChanged = TRUE;
>  }
>  
>  /*
> -- 
> 1.7.9.5
>

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20131211/4a7989e2/attachment.pgp>


More information about the xorg-devel mailing list