diff options
-rw-r--r-- | src/firejail/x11.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/firejail/x11.c b/src/firejail/x11.c index fb8f5efa2..85141c265 100644 --- a/src/firejail/x11.c +++ b/src/firejail/x11.c | |||
@@ -200,6 +200,10 @@ void x11_start_xephyr(int argc, char **argv) { | |||
200 | for (i = 0; i < argc; i++) { | 200 | for (i = 0; i < argc; i++) { |
201 | if (strcmp(argv[i], "--x11") == 0) | 201 | if (strcmp(argv[i], "--x11") == 0) |
202 | continue; | 202 | continue; |
203 | if (strcmp(argv[i], "--x11=xpra") == 0) | ||
204 | continue; | ||
205 | if (strcmp(argv[i], "--x11=xephyr") == 0) | ||
206 | continue; | ||
203 | ptr += sprintf(ptr, "%s ", argv[i]); | 207 | ptr += sprintf(ptr, "%s ", argv[i]); |
204 | } | 208 | } |
205 | if (arg_debug) | 209 | if (arg_debug) |
@@ -313,6 +317,10 @@ void x11_start_xpra(int argc, char **argv) { | |||
313 | for (i = 0; i < argc; i++) { | 317 | for (i = 0; i < argc; i++) { |
314 | if (strcmp(argv[i], "--x11") == 0) | 318 | if (strcmp(argv[i], "--x11") == 0) |
315 | continue; | 319 | continue; |
320 | if (strcmp(argv[i], "--x11=xpra") == 0) | ||
321 | continue; | ||
322 | if (strcmp(argv[i], "--x11=xephyr") == 0) | ||
323 | continue; | ||
316 | ptr += sprintf(ptr, "%s ", argv[i]); | 324 | ptr += sprintf(ptr, "%s ", argv[i]); |
317 | } | 325 | } |
318 | sprintf(ptr, "\""); | 326 | sprintf(ptr, "\""); |