mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
This adds a few arguments to exec that cause sway to create a wayland socket file descriptor and point the WAYLAND_SOCKET environment variable at the socket. This in turn allows sway to track all windows created by this client (in a more robust manner than the existing pid-based tracking). Note that this only works if the exec ends up launching a single wayland client (a script that launches multiple commands will not work correctly; a process that uses libwayland-client itself and runs other processes is fine). "exec --use-wayland-socket command" only sets WAYLAND_SOCKET and does nothing else. "exec --label <label> <program>" will associate the specified label with the wl_client and all windows it creates. |
||
|---|---|---|
| .. | ||
| sway | ||
| swaybar | ||
| swaynag | ||
| background-image.h | ||
| cairo_util.h | ||
| ipc-client.h | ||
| ipc.h | ||
| list.h | ||
| log.h | ||
| loop.h | ||
| meson.build | ||
| pango.h | ||
| pool-buffer.h | ||
| stringop.h | ||
| util.h | ||