summaryrefslogtreecommitdiff
path: root/src/macfns.c
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2007-10-10 21:52:29 +0000
committerJason Rumney <jasonr@gnu.org>2007-10-10 21:52:29 +0000
commit04710ebdcc8183e1373b7edf3c803eeebf56aa7e (patch)
treef708124f8beeb96f9b937b64087d8e83774af6f7 /src/macfns.c
parent9e48337731ca5bb809ceb5f998cd44b342f1ff50 (diff)
downloademacs-04710ebdcc8183e1373b7edf3c803eeebf56aa7e.tar.gz
(x_create_tip_frame): Set terminal for frame.
Diffstat (limited to 'src/macfns.c')
-rw-r--r--src/macfns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macfns.c b/src/macfns.c
index d447ee90a4f..fdc5c7e5920 100644
--- a/src/macfns.c
+++ b/src/macfns.c
@@ -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));