diff options
author | Jason Rumney <[email protected]> | 2007-10-10 21:52:29 +0000 |
---|---|---|
committer | Jason Rumney <[email protected]> | 2007-10-10 21:52:29 +0000 |
commit | 04710ebdcc8183e1373b7edf3c803eeebf56aa7e (patch) | |
tree | f708124f8beeb96f9b937b64087d8e83774af6f7 /src | |
parent | 9e48337731ca5bb809ceb5f998cd44b342f1ff50 (diff) |
(x_create_tip_frame): Set terminal for frame.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/macfns.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e35d738365..0976f20247 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2007-10-10 Jason Rumney <[email protected]> + + * macfns.c (x_create_tip_frame): Set terminal for frame. + 2007-10-10 Stefan Monnier <[email protected]> * frame.c (Qenvironment): Remove. diff --git a/src/macfns.c b/src/macfns.c index d447ee90a4..fdc5c7e592 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)); |