1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

* xfns.c (Fx_close_connection): Call xg_display_close when USE_GTK.

This commit is contained in:
Jan Djärv 2006-09-10 12:16:58 +00:00
parent d7b1ea44e5
commit 16e4bfaf96

View file

@ -4067,11 +4067,15 @@ If DISPLAY is nil, that stands for the selected frame's display. */)
x_destroy_all_bitmaps (dpyinfo);
XSetCloseDownMode (dpyinfo->display, DestroyAll);
#ifdef USE_GTK
xg_display_close (dpyinfo->display);
#else
#ifdef USE_X_TOOLKIT
XtCloseDisplay (dpyinfo->display);
#else
XCloseDisplay (dpyinfo->display);
#endif
#endif /* ! USE_GTK */
x_delete_display (dpyinfo);
UNBLOCK_INPUT;