1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00

(x_create_tip_frame): Set terminal for frame.

This commit is contained in:
Jason Rumney 2007-10-10 21:52:29 +00:00
parent 9e48337731
commit 04710ebdcc
2 changed files with 6 additions and 0 deletions

View 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.

View 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));