Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4eacadbd
Commit
4eacadbd
authored
Sep 23, 1994
by
Richard M. Stallman
Browse files
(x_destroy_window): Decrement ref count of x_screen struct.
parent
3db0cdac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/xterm.c
src/xterm.c
+6
-0
No files found.
src/xterm.c
View file @
4eacadbd
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment