aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32fns.c
diff options
context:
space:
mode:
authorJason Rumney <[email protected]>2007-05-17 00:01:32 +0000
committerJason Rumney <[email protected]>2007-05-17 00:01:32 +0000
commitebbb61be878ccf27c354fc86de4369c879cf2f74 (patch)
tree3c8391f90382a16e9e1e3ecf81c9ff6996983638 /src/w32fns.c
parent1d00cfd429f75ba241bf833b837dde3de2431620 (diff)
(x_create_tip_frame): Set terminal and ref count.
Diffstat (limited to 'src/w32fns.c')
-rw-r--r--src/w32fns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index 89637284a3..7c46615478 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -7247,6 +7247,8 @@ x_create_tip_frame (dpyinfo, parms, text)
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));