(x_create_tip_frame): Set terminal for frame.
authorJason Rumney <jasonr@gnu.org>
Wed, 10 Oct 2007 21:52:29 +0000 (21:52 +0000)
committerJason Rumney <jasonr@gnu.org>
Wed, 10 Oct 2007 21:52:29 +0000 (21:52 +0000)
src/ChangeLog
src/macfns.c

index e35d738..0976f20 100644 (file)
@@ -1,3 +1,7 @@
+2007-10-10  Jason Rumney  <jasonr@gnu.org>
+
+       * macfns.c (x_create_tip_frame): Set terminal for frame.
+
 2007-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * frame.c (Qenvironment): Remove.
index d447ee9..fdc5c7e 100644 (file)
@@ -3855,6 +3855,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_mac;
   f->output_data.mac =
     (struct mac_output *) xmalloc (sizeof (struct mac_output));