[PATCH v2 xserver 2/2] ranrd: Do not update ConnectionInfo if NULL

Adam Jackson ajax at redhat.com
Thu May 12 17:57:47 UTC 2016


On Thu, 2016-05-12 at 19:05 +0200, Olivier Fourdan wrote:

> diff --git a/randr/rrscreen.c b/randr/rrscreen.c
> index d0ca91e..66efef5 100644
> --- a/randr/rrscreen.c
> +++ b/randr/rrscreen.c
> @@ -41,6 +41,9 @@ RREditConnectionInfo(ScreenPtr pScreen)
>      int screen = 0;
>      int d;
>  
> +    if (ConnectionInfo)
> +        return;
> +

Oops, that conditional is the wrong way around.

- ajax


More information about the xorg-devel mailing list