Mercurial > emacs
changeset 84705:be652865dc4d
Markus Triska <markus.triska at gmx.at>
(x_delete_display): Compile session management conditionally.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 21 Sep 2007 02:40:57 +0000 |
parents | f4865b3d8362 |
children | a1bd1299729c |
files | src/xterm.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Fri Sep 21 02:38:05 2007 +0000 +++ b/src/xterm.c Fri Sep 21 02:40:57 2007 +0000 @@ -11136,10 +11136,11 @@ for (t = terminal_list; t; t = t->next_terminal) if (t->type == output_x_window && t->display_info.x == dpyinfo) { +#ifdef HAVE_X_SM /* Close X session management when we close its display. */ if (t->id == 1 && x_session_have_connection ()) x_session_close(); - +#endif delete_terminal (t); break; }