• Carlos Garnacho's avatar
    xwayland: Allow passing a fd for set up clients · 7ad1d0d3
    Carlos Garnacho authored
    This FD also triggers the "wait for WM_S0" paths, so that the
    compositor may set up a "maintenance line" for Xwayland, for
    services that are essential to run before any client (eg. xrdb).
    Those services would use this FD, disguised as an extra display
    This -initfd can be seen as a generalization of -wm, a Wayland
    compositor may use -initfd to launch its WM and any other clients
    that should start up, or it may use -wm as a dedicated connection for
    the WM and optionally use -initfd for the misc. startup clients.
    If either of -wm or -initfd is passed, Xwayland will expect a selection
    notification on WM_S0 before incorporating the FDs in -listen to the
    poll list.
    Also, correct a minor typo in the listenfd argument output,
    give → given.
    Signed-off-by: Carlos Garnacho's avatarCarlos Garnacho <carlosg@gnome.org>
xwayland.c 36.7 KB