• Karoly Lorentey's avatar
    Work around crashes in X session management after normal shutdown of X server. · d51abf22
    Karoly Lorentey authored
    * src/xsmfns.c (x_session_close): New function.
    * src/xterm.h: Declare it.
    * src/xterm.c (XTread_socket): Don't call x_session_check_input for
      secondary displays.
      (x_term_init): Do not initialize X session management when the initial
      display was a tty frame.
      (x_delete_display): Close X session management when we close its display.
    git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-390
xterm.h 39 KB