1 | *************** |
---|
2 | *** 2946,2951 **** |
---|
3 | { |
---|
4 | struct frame *f1; |
---|
5 | struct mac_display_info *dpyinfo = FRAME_DISPLAY_INFO (*fp); |
---|
6 | |
---|
7 | block_input (); |
---|
8 | |
---|
9 | --- 2946,2952 ---- |
---|
10 | { |
---|
11 | struct frame *f1; |
---|
12 | struct mac_display_info *dpyinfo = FRAME_DISPLAY_INFO (*fp); |
---|
13 | + struct frame *sf = SELECTED_FRAME (); |
---|
14 | |
---|
15 | block_input (); |
---|
16 | |
---|
17 | *************** |
---|
18 | *** 2966,2972 **** |
---|
19 | else |
---|
20 | f1 = XFRAME (mac_event_frame ()); |
---|
21 | |
---|
22 | - if (f1) |
---|
23 | { |
---|
24 | /* Ok, we found a frame. Store all the values. |
---|
25 | last_mouse_glyph is a rectangle used to reduce the |
---|
26 | --- 2967,2973 ---- |
---|
27 | else |
---|
28 | f1 = XFRAME (mac_event_frame ()); |
---|
29 | |
---|
30 | + if (f1 && sf->output_method != output_termcap) |
---|
31 | { |
---|
32 | /* Ok, we found a frame. Store all the values. |
---|
33 | last_mouse_glyph is a rectangle used to reduce the |
---|