Mercurial > emacs
comparison src/xterm.c @ 9011:cece83c47ca5
(x_destroy_window): Decrement ref count of x_screen struct.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 23 Sep 1994 04:54:46 +0000 |
parents | 5882c2fedd98 |
children | 1cd322ea379a |
comparison
equal
deleted
inserted
replaced
9010:9d48b6752dbf | 9011:cece83c47ca5 |
---|---|
5159 #endif /* USE_X_TOOLKIT */ | 5159 #endif /* USE_X_TOOLKIT */ |
5160 | 5160 |
5161 free_frame_faces (f); | 5161 free_frame_faces (f); |
5162 XFlushQueue (); | 5162 XFlushQueue (); |
5163 | 5163 |
5164 FRAME_X_SCREEN (f)->reference_count--; | |
5165 #if 0 | |
5166 if (FRAME_X_SCREEN (f)->reference_count == 0) | |
5167 free (FRAME_X_SCREEN (f)); | |
5168 #endif | |
5169 | |
5164 xfree (f->display.x); | 5170 xfree (f->display.x); |
5165 f->display.x = 0; | 5171 f->display.x = 0; |
5166 if (f == x_focus_frame) | 5172 if (f == x_focus_frame) |
5167 x_focus_frame = 0; | 5173 x_focus_frame = 0; |
5168 if (f == x_highlight_frame) | 5174 if (f == x_highlight_frame) |