Mercurial > emacs
diff src/xterm.c @ 83274:c22274b1aa9b
README updates.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-314
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Tue, 22 Mar 2005 15:00:17 +0000 |
parents | 1cd1aa464b44 |
children | 87d0734390da |
line wrap: on
line diff
--- a/src/xterm.c Sat Mar 19 20:48:17 2005 +0000 +++ b/src/xterm.c Tue Mar 22 15:00:17 2005 +0000 @@ -10770,25 +10770,9 @@ struct x_display_info *dpyinfo = display->display_info.x; int i; - BLOCK_INPUT; - /* Free the fonts in the font table. */ - for (i = 0; i < dpyinfo->n_fonts; i++) - if (dpyinfo->font_table[i].name) - { - XFreeFont (dpyinfo->display, dpyinfo->font_table[i].font); - } - - x_destroy_all_bitmaps (dpyinfo); - XSetCloseDownMode (dpyinfo->display, DestroyAll); - -#ifdef USE_X_TOOLKIT - XtCloseDisplay (dpyinfo->display); -#else - XCloseDisplay (dpyinfo->display); -#endif + xg_display_close (dpyinfo->display); x_delete_display (dpyinfo); - UNBLOCK_INPUT; }