mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
doc: Further explain typical display socket lookup
This change mentions the case where WAYLAND_SOCKET is used, which helps people avoid just testing 'getenv(WAYLAND_DISPLAY)' to see if a Wayland compositor is available; Signed-off-by: Manuel Stoeckl <code@mstoeckl.com>
This commit is contained in:
parent
387adc6a79
commit
4a0c4e2119
1 changed files with 3 additions and 1 deletions
|
|
@ -97,7 +97,9 @@
|
||||||
in the environment). Beginning in Wayland 1.15, implementations can
|
in the environment). Beginning in Wayland 1.15, implementations can
|
||||||
optionally support server socket endpoints located at arbitrary
|
optionally support server socket endpoints located at arbitrary
|
||||||
locations in the filesystem by setting <emphasis>WAYLAND_DISPLAY</emphasis>
|
locations in the filesystem by setting <emphasis>WAYLAND_DISPLAY</emphasis>
|
||||||
to the absolute path at which the server endpoint listens.
|
to the absolute path at which the server endpoint listens. The socket may
|
||||||
|
also be provided through file descriptor inheritance, in which case
|
||||||
|
<emphasis>WAYLAND_SOCKET</emphasis> is set.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Every message is structured as 32-bit words; values are represented in the
|
Every message is structured as 32-bit words; values are represented in the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue