Mercurial > emacs
changeset 83608:2ad761d6b244
(x_create_tip_frame): Set terminal and ref count.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Thu, 17 May 2007 00:01:32 +0000 |
parents | b009fb9581ca |
children | 91cab9b5f774 |
files | src/w32fns.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32fns.c Wed May 16 23:16:53 2007 +0000 +++ b/src/w32fns.c Thu May 17 00:01:32 2007 +0000 @@ -7247,6 +7247,8 @@ the frame is live, as per FRAME_LIVE_P. If we get a signal from this point on, x_destroy_window might screw up reference counts etc. */ + f->terminal = dpyinfo->terminal; + f->terminal->reference_count++; f->output_method = output_w32; f->output_data.w32 = (struct w32_output *) xmalloc (sizeof (struct w32_output));