It will be hard to convince all Mozilla plugins-capable browsers to
call XInitThreads() early enough, if it ever happens. In the mean time,
make sure we use only pure XCB and avoid Xlib in VLC plugins.
Note: I did not check that the web plugins itself was not using Xlib
outside the main Mozilla browser thread.
This should fix #3662. We loose GLX and PulseAudio inside Mozilla.
ppsz_argv[ppsz_argc++] = "--no-media-library";
ppsz_argv[ppsz_argc++] = "--intf=dummy";
ppsz_argv[ppsz_argc++] = "--no-video-title-show";
ppsz_argv[ppsz_argc++] = "--no-media-library";
ppsz_argv[ppsz_argc++] = "--intf=dummy";
ppsz_argv[ppsz_argc++] = "--no-video-title-show";
+ ppsz_argv[ppsz_args++] = "--no-xlib";
const char *progid = NULL;
const char *progid = NULL;