Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ea1bf8c7
Commit
ea1bf8c7
authored
Sep 21, 2007
by
Glenn Morris
Browse files
Markus Triska <markus.triska at gmx.at>
(x_delete_display): Compile session management conditionally.
parent
8db04dd2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/xterm.c
src/xterm.c
+2
-1
No files found.
src/ChangeLog
View file @
ea1bf8c7
2007-09-21 Markus Triska <markus.triska@gmx.at>
* xterm.c (x_delete_display): Compile session management
conditionally.
2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
* callproc.c (getenv_internal_1): New function.
* callproc.c (getenv_internal_1): New function.
...
...
src/xterm.c
View file @
ea1bf8c7
...
@@ -11136,10 +11136,11 @@ x_delete_display (dpyinfo)
...
@@ -11136,10 +11136,11 @@ x_delete_display (dpyinfo)
for (t = terminal_list; t; t = t->next_terminal)
for (t = terminal_list; t; t = t->next_terminal)
if (t->type == output_x_window && t->display_info.x == dpyinfo)
if (t->type == output_x_window && t->display_info.x == dpyinfo)
{
{
#ifdef HAVE_X_SM
/* Close X session management when we close its display. */
/* Close X session management when we close its display. */
if (t->id == 1 && x_session_have_connection ())
if (t->id == 1 && x_session_have_connection ())
x_session_close();
x_session_close();
#endif
delete_terminal (t);
delete_terminal (t);
break;
break;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment