Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
83273:1cd1aa464b44 | 83274:c22274b1aa9b |
---|---|
10768 x_delete_frame_display (struct display *display) | 10768 x_delete_frame_display (struct display *display) |
10769 { | 10769 { |
10770 struct x_display_info *dpyinfo = display->display_info.x; | 10770 struct x_display_info *dpyinfo = display->display_info.x; |
10771 int i; | 10771 int i; |
10772 | 10772 |
10773 BLOCK_INPUT; | 10773 xg_display_close (dpyinfo->display); |
10774 /* Free the fonts in the font table. */ | |
10775 for (i = 0; i < dpyinfo->n_fonts; i++) | |
10776 if (dpyinfo->font_table[i].name) | |
10777 { | |
10778 XFreeFont (dpyinfo->display, dpyinfo->font_table[i].font); | |
10779 } | |
10780 | |
10781 x_destroy_all_bitmaps (dpyinfo); | |
10782 XSetCloseDownMode (dpyinfo->display, DestroyAll); | |
10783 | |
10784 #ifdef USE_X_TOOLKIT | |
10785 XtCloseDisplay (dpyinfo->display); | |
10786 #else | |
10787 XCloseDisplay (dpyinfo->display); | |
10788 #endif | |
10789 | 10774 |
10790 x_delete_display (dpyinfo); | 10775 x_delete_display (dpyinfo); |
10791 UNBLOCK_INPUT; | |
10792 } | 10776 } |
10793 | 10777 |
10794 | 10778 |
10795 struct display * | 10779 struct display * |
10796 x_create_frame_display (struct x_display_info *dpyinfo) | 10780 x_create_frame_display (struct x_display_info *dpyinfo) |