From: Jason Rumney Date: Wed, 10 Oct 2007 21:52:29 +0000 (+0000) Subject: (x_create_tip_frame): Set terminal for frame. X-Git-Tag: emacs-pretest-23.0.90~10435 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=04710ebdcc8183e1373b7edf3c803eeebf56aa7e;p=emacs.git (x_create_tip_frame): Set terminal for frame. --- diff --git a/src/ChangeLog b/src/ChangeLog index e35d7383658..0976f20247b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2007-10-10 Jason Rumney + + * macfns.c (x_create_tip_frame): Set terminal for frame. + 2007-10-10 Stefan Monnier * frame.c (Qenvironment): Remove. 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));