HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3db0cda
)
(x_destroy_window): Decrement ref count of x_screen struct.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 23 Sep 1994 04:54:46 +0000
(
04:54
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 23 Sep 1994 04:54:46 +0000
(
04:54
+0000)
src/xterm.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index
475e4b9
..
34b07de
100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-5161,6
+5161,12
@@
x_destroy_window (f)
free_frame_faces (f);
XFlushQueue ();
+ FRAME_X_SCREEN (f)->reference_count--;
+#if 0
+ if (FRAME_X_SCREEN (f)->reference_count == 0)
+ free (FRAME_X_SCREEN (f));
+#endif
+
xfree (f->display.x);
f->display.x = 0;
if (f == x_focus_frame)