• Carlos Garnacho's avatar
    Resort to WAYLAND_DISPLAY checks to avoid X11 connections · b68e60b7
    Carlos Garnacho authored
    Same reasoning applies (Opening and closing X11 displays may be from
    ineffective to harmful there), but the XDG_SESSION_TYPE check breaks
    for startx.
    Explicitly check that DISPLAY is present but WAYLAND_DISPLAY is not,
    in order to avoid this behavior.
    Pointed out at