[PATCH xserver] xfree86: Don't swallow ±iglx command line flag

Peter Hutterer peter.hutterer at who-t.net
Wed Jun 1 23:33:41 UTC 2016


On Wed, Jun 01, 2016 at 02:27:23PM -0400, Adam Jackson wrote:
> We want to notice that it's set, but still pass it through to dix.
> Return 0 to indicate this.
> 
> Signed-off-by: Adam Jackson <ajax at redhat.com>

Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

Cheers,
   Peter

> ---
>  hw/xfree86/common/xf86Init.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
> index 323ac11..29d6ded 100644
> --- a/hw/xfree86/common/xf86Init.c
> +++ b/hw/xfree86/common/xf86Init.c
> @@ -1378,7 +1378,7 @@ ddxProcessArgument(int argc, char **argv, int i)
>      }
>      if (!strcmp(argv[i], "-iglx") || !strcmp(argv[i], "+iglx")) {
>          xf86Info.iglxFrom = X_CMDLINE;
> -        return 1;
> +        return 0;
>      }
>  
>      /* OS-specific processing */
> -- 
> 2.7.4
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel
> 


More information about the xorg-devel mailing list