mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-06-06 19:58:23 +02:00
We want to wait for Xwayland to be ready before issuing it blocking requests, but relying on USR1 is a bit unsafe: - we can't ascertain the signal originated from Xwayland - if weston is started as PID1 (e.g. in its own container), then Xwayland will not send SIGUSR1 and X11 connections will be stuck forever: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1312 Creating a pipe and using -displayfd, even if we don't care about the display value itself, is safe and works for all cases Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com> |
||
|---|---|---|
| .. | ||
| cms-colord.c | ||
| cms-helper.c | ||
| cms-helper.h | ||
| cms-static.c | ||
| executable.c | ||
| main.c | ||
| meson.build | ||
| screen-share.c | ||
| systemd-notify.c | ||
| text-backend.c | ||
| weston-screenshooter.c | ||
| weston.desktop | ||
| weston.h | ||
| xwayland.c | ||