vlc_xlib_init() already checks for --no-xlib internally.
Attach a file by drag & drop or click to upload