diff options
author | Dudemanguy <random342@airmail.cc> | 2020-10-05 09:12:29 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2020-10-06 17:45:59 +0000 |
commit | 015b6768759c8bd8cc815be01123ef95c192f3c5 (patch) | |
tree | 537462cd5465915d2537c2e0e088eb388da3976b /DOCS/man | |
parent | 39f4fd0dc7e025af5c653e43dc05e71455d99570 (diff) | |
download | mpv-015b6768759c8bd8cc815be01123ef95c192f3c5.tar.bz2 mpv-015b6768759c8bd8cc815be01123ef95c192f3c5.tar.xz |
wayland: add wayland-display-socket option
As per the client API, a client can connect to any arbitrary wayland
socket. mpv has always just passed NULL which connected to the
compositor currently in use, but one could just as easily pass the name
of a different socket (i.e. the value of WAYLAND_DISPLAY). Here, we just
expose this argument as a user configurable option. If the user passes a
socket name that does not exist, then print a warning and fall back to
NULL.
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/options.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index c5e8aeb5c0..3c8af768a5 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -5382,6 +5382,12 @@ The following video options are currently all specific to ``--vo=gpu`` and ``--no-audio``, and ``--untimed=yes``. Only works with ``--gpu-context=wayland`` and ``--gpu-context=waylandvk``. +``--wayland-display-socket=<string>`` + Specify the name of the wayland socket mpv attempts to connect to. By default, + mpv will simply pass "NULL" which will then try to connect to the compositor + currently in use. Note that this will only have an effect during startup since + closing the connection to the wl_display will terminate the client. + ``--wayland-edge-pixels-pointer=<value>`` Defines the size of an edge border (default: 10) to initiate client side resize events in the wayland contexts with the mouse. This is only active if |