diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xmenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index a671d4a76b6..b029fc655d5 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -708,7 +708,7 @@ cached information about equivalent key sequences.") | |||
| 708 | || (CONSP (position) && EQ (XCAR (position), Qmenu_bar))) | 708 | || (CONSP (position) && EQ (XCAR (position), Qmenu_bar))) |
| 709 | { | 709 | { |
| 710 | /* Use the mouse's current position. */ | 710 | /* Use the mouse's current position. */ |
| 711 | FRAME_PTR new_f = selected_frame; | 711 | FRAME_PTR new_f = SELECTED_FRAME (); |
| 712 | Lisp_Object bar_window; | 712 | Lisp_Object bar_window; |
| 713 | enum scroll_bar_part part; | 713 | enum scroll_bar_part part; |
| 714 | unsigned long time; | 714 | unsigned long time; |
| @@ -907,7 +907,7 @@ on the left of the dialog box and all following items on the right.\n\ | |||
| 907 | { | 907 | { |
| 908 | #if 0 /* Using the frame the mouse is on may not be right. */ | 908 | #if 0 /* Using the frame the mouse is on may not be right. */ |
| 909 | /* Use the mouse's current position. */ | 909 | /* Use the mouse's current position. */ |
| 910 | FRAME_PTR new_f = selected_frame; | 910 | FRAME_PTR new_f = SELECTED_FRAME (); |
| 911 | Lisp_Object bar_window; | 911 | Lisp_Object bar_window; |
| 912 | int part; | 912 | int part; |
| 913 | unsigned long time; | 913 | unsigned long time; |