Replace X11 display number with a display string

As far as possible, use of the X11 display number is kept to
X11-specific routines. This is to make it easier to restructure
the code to add non-X11 display support.
This commit is contained in:
matt335672
2026-02-03 15:36:20 +00:00
parent d56408a891
commit c4727ad8f3
40 changed files with 726 additions and 527 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ add_sesexec_fd_to_session_list(const char *filename)
// E_SESSION_STARTING state
s_item->sesexec_trans = t;
s_item->sesexec_pid = sesexec_pid;
s_item->display = -1;
s_item->display[0] = '\0';
// Tell the caller we've added one
status = 1;