From adabc3a9af7cb74372a16e2f6e6cd4e403fb69ed Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 13 Sep 1996 17:03:29 +0000 Subject: [PATCH] (x_connection_closed): Call XtCloseDisplay. --- src/xterm.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2