Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
85148:f1dea8c68d8d | 85149:49f5616a5d8b |
---|---|
3853 | 3853 |
3854 /* By setting the output method, we're essentially saying that | 3854 /* By setting the output method, we're essentially saying that |
3855 the frame is live, as per FRAME_LIVE_P. If we get a signal | 3855 the frame is live, as per FRAME_LIVE_P. If we get a signal |
3856 from this point on, x_destroy_window might screw up reference | 3856 from this point on, x_destroy_window might screw up reference |
3857 counts etc. */ | 3857 counts etc. */ |
3858 f->terminal = dpyinfo->terminal; | |
3859 f->terminal->reference_count++; | |
3858 f->output_method = output_mac; | 3860 f->output_method = output_mac; |
3859 f->output_data.mac = | 3861 f->output_data.mac = |
3860 (struct mac_output *) xmalloc (sizeof (struct mac_output)); | 3862 (struct mac_output *) xmalloc (sizeof (struct mac_output)); |
3861 bzero (f->output_data.mac, sizeof (struct mac_output)); | 3863 bzero (f->output_data.mac, sizeof (struct mac_output)); |
3862 | 3864 |