Commit 164a37ea authored by Emma Anholt's avatar Emma Anholt
Browse files

simple-xinit: Introduce an escaped "--" argument.

For testing xephyr-glamor on top of Xvfb in CI better, I want to be
able to make one command line describing the nested server invocation,
but that means I need to get two simple-xinits to split client/server
on different "--" arguments.
Signed-off-by: Emma Anholt's avatarEric Anholt <>
parent 29aed56e
......@@ -38,7 +38,7 @@ if build_xv
xephyr_dep += dependency('xcb-xv')
xephyr_server = executable(
include_directories: [
......@@ -210,7 +210,13 @@ parse_args(int argc, char **argv,
*next_arg = argv[i];
/* A sort of escaped "--" argument so we can nest server
* invocations for testing.
if (strcmp(argv[i], "----") == 0)
*next_arg = (char *)"--";
*next_arg = argv[i];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment