diff options
| author | Gerd Moellmann | 2000-12-07 11:43:06 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-12-07 11:43:06 +0000 |
| commit | 4ca78676d23e085f6ba5a20e4af29f1058db420c (patch) | |
| tree | 15ea8e21a347eee0f079e5c072a32ffb1024bede /src | |
| parent | 2fa7e20272ab26a661d5842cdeebc290eaaee5c4 (diff) | |
| download | emacs-4ca78676d23e085f6ba5a20e4af29f1058db420c.tar.gz emacs-4ca78676d23e085f6ba5a20e4af29f1058db420c.zip | |
(x_destroy_window): Call x_free_gcs so that
resources of non-toolkit X windows will be freed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index f30ee0159fd..c0cfa0cb8df 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -12452,8 +12452,9 @@ x_destroy_window (f) | |||
| 12452 | unload_color (f, f->output_data.x->white_relief.pixel); | 12452 | unload_color (f, f->output_data.x->white_relief.pixel); |
| 12453 | if (f->output_data.x->black_relief.allocated_p) | 12453 | if (f->output_data.x->black_relief.allocated_p) |
| 12454 | unload_color (f, f->output_data.x->black_relief.pixel); | 12454 | unload_color (f, f->output_data.x->black_relief.pixel); |
| 12455 | 12455 | ||
| 12456 | free_frame_faces (f); | 12456 | free_frame_faces (f); |
| 12457 | x_free_gcs (f); | ||
| 12457 | XFlush (FRAME_X_DISPLAY (f)); | 12458 | XFlush (FRAME_X_DISPLAY (f)); |
| 12458 | } | 12459 | } |
| 12459 | 12460 | ||