diff options
| author | Karoly Lorentey | 2005-03-22 17:58:23 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-03-22 17:58:23 +0000 |
| commit | 335fcf6c2f6ae8990d8c62589cfb3558c3f38bc0 (patch) | |
| tree | 873190d9f053145e0dcc56676359a06d7d18da73 /src | |
| parent | 779d7de93905ac37f211c53a839c0ac5669853d3 (diff) | |
| download | emacs-335fcf6c2f6ae8990d8c62589cfb3558c3f38bc0.tar.gz emacs-335fcf6c2f6ae8990d8c62589cfb3558c3f38bc0.zip | |
Revert changes that were committed by mistake in the previous patch.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-315
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index f2ce8df4da6..c47b52d881c 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -10770,9 +10770,25 @@ x_delete_frame_display (struct display *display) | |||
| 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 | xg_display_close (dpyinfo->display); | 10773 | BLOCK_INPUT; |
| 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 | ||
| 10774 | 10789 | ||
| 10775 | x_delete_display (dpyinfo); | 10790 | x_delete_display (dpyinfo); |
| 10791 | UNBLOCK_INPUT; | ||
| 10776 | } | 10792 | } |
| 10777 | 10793 | ||
| 10778 | 10794 | ||