summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-06-01 14:27:23 -0400
committerAdam Jackson <ajax@redhat.com>2016-06-20 11:50:00 -0400
commit62bf33d0d105beb257619ef6b77919d01b04d401 (patch)
tree57d65a60d8bff146b73d12d0294dfabcd48a0113 /hw
parentd7ae950c1d08724144514151afe47a3fd8e84f3c (diff)
xfree86: Don't swallow ±iglx command line flag
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@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 7cf80b9714864c3c4eb9898ff1b7d657ecd16df7)
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/common/xf86Init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
index a3e58ba16..9bade905d 100644
--- a/hw/xfree86/common/xf86Init.c
+++ b/hw/xfree86/common/xf86Init.c
@@ -1459,7 +1459,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 */