changeset 85149:49f5616a5d8b

(x_create_tip_frame): Set terminal for frame.
author Jason Rumney <jasonr@gnu.org>
date Wed, 10 Oct 2007 21:51:44 +0000
parents f1dea8c68d8d
children aad47cf7bda3
files src/macfns.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/macfns.c	Wed Oct 10 20:44:34 2007 +0000
+++ b/src/macfns.c	Wed Oct 10 21:51:44 2007 +0000
@@ -3855,6 +3855,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_mac;
   f->output_data.mac =
     (struct mac_output *) xmalloc (sizeof (struct mac_output));