Mercurial > emacs
diff src/macfns.c @ 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 | 65663fcd2caa |
children | 591c29778a30 d38543a1c0f9 |
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));