mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-24 10:37:03 -06:00
DeckCraft forces X11 whenever DISPLAY is set. A stale DISPLAY (an ended ssh -X session, or Xwayland turned off) made start-up fail with "failed to open display" while a Wayland compositor was running. A local DISPLAY whose /tmp/.X11-unix socket is missing now starts on Wayland when WAYLAND_DISPLAY is set; remote displays and live servers keep X11. Forcing Wayland without a compositor keeps X11, and with no display at all the error says so plainly. Co-authored-by: Cursor <cursoragent@cursor.com>