summaryrefslogtreecommitdiffstats
path: root/travis-deps
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-07 01:06:28 +0100
committerwm4 <wm4@nowhere>2014-01-15 20:49:22 +0100
commit909185d49e54a83bf0740a4fdb5112833fea5c05 (patch)
treec98ef19f73c27ef596ee8c5bcbfe6087b2f86d4e /travis-deps
parentc18c324c6fd42faf6aea8d8ac9d6959a8fd31832 (diff)
downloadmpv-909185d49e54a83bf0740a4fdb5112833fea5c05.tar.bz2
mpv-909185d49e54a83bf0740a4fdb5112833fea5c05.tar.xz
wayland: silence annoying libwayland-client message
libwayland-client contains the following code [1]: runtime_dir = getenv("XDG_RUNTIME_DIR"); if (!runtime_dir) { fprintf(stderr, "error: XDG_RUNTIME_DIR not set in the environment.\n"); This means this message will unconditionally and unavoidably be printed if XDG_RUNTIME_DIR is not set. Since mpv is a terminal program, and we want to avoid unnecessary output, work it around by not attempting to use wayland if this environment variable is not set. [1] http://cgit.freedesktop.org/wayland/wayland/tree/src/wayland-client.c#n636 (cd0dccd01e16fa404e03974d30ded3aebdb1c4bc)
Diffstat (limited to 'travis-deps')
0 files changed, 0 insertions, 0 deletions