[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23.0.50; xterm.c patch: conditional compilation for session management
From: |
Markus Triska |
Subject: |
23.0.50; xterm.c patch: conditional compilation for session management |
Date: |
Sun, 16 Sep 2007 15:46:14 +0200 |
Following patch yields conditional compilation of session management
functions in one additional place in xterm.c.
2007-09-16 Markus Triska <address@hidden>
* xterm.c (x_delete_display): compile session management
conditionally
diff --git a/src/xterm.c b/src/xterm.c
index fcf5e0b..cdd2c5c 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -11136,9 +11136,11 @@ x_delete_display (dpyinfo)
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;
- 23.0.50; xterm.c patch: conditional compilation for session management,
Markus Triska <=