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:
parent
d7b1ea44e5
commit
16e4bfaf96
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue