# HG changeset patch # User Jason Rumney # Date 1192053104 0 # Node ID 49f5616a5d8b8d391fadddb857fe85f60f185755 # Parent f1dea8c68d8d7b894325471657c7942fd1dd7655 (x_create_tip_frame): Set terminal for frame. diff -r f1dea8c68d8d -r 49f5616a5d8b src/macfns.c --- 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));