summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-13 17:03:29 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-13 17:03:29 +0000
commitadabc3a9af7cb74372a16e2f6e6cd4e403fb69ed (patch)
treedb6f4e6a096e7431cdabf6fb43d79ed3c99c63e6 /src
parent92a2515a65646d08ae30a4334553c5797938b798 (diff)
downloademacs-adabc3a9af7cb74372a16e2f6e6cd4e403fb69ed.tar.gz
(x_connection_closed): Call XtCloseDisplay.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index b88b17e7cd8..595621b4f8a 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -4511,6 +4511,10 @@ x_connection_closed (display, error_message)
/* Indicate that this display is dead. */
+ #ifdef USE_X_TOOLKIT
+ XtCloseDisplay (display);
+ #endif
+
dpyinfo->display = 0;
/* First delete frames whose minibuffers are on frames