summaryrefslogtreecommitdiff
path: root/xserver/hw/xfree86/common/xf86Init.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/hw/xfree86/common/xf86Init.c')
-rw-r--r--xserver/hw/xfree86/common/xf86Init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xserver/hw/xfree86/common/xf86Init.c b/xserver/hw/xfree86/common/xf86Init.c
index 8785ef307..7f64a709b 100644
--- a/xserver/hw/xfree86/common/xf86Init.c
+++ b/xserver/hw/xfree86/common/xf86Init.c
@@ -1473,6 +1473,10 @@ ddxProcessArgument(int argc, char **argv, int i)
xf86Info.ShareVTs = TRUE;
return 1;
}
+ if (!strcmp(argv[i], "-iglx") || !strcmp(argv[i], "+iglx")) {
+ xf86Info.iglxFrom = X_CMDLINE;
+ return 0;
+ }
/* OS-specific processing */
return xf86ProcessArgument(argc, argv, i);