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

Adam Jackson ajax at redhat.com
Wed Jun 1 18:27:23 UTC 2016


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>
---
 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



More information about the xorg-devel mailing list