diff options
| author | Gerd Moellmann | 1999-09-13 11:14:23 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-09-13 11:14:23 +0000 |
| commit | b404828f5f995bacec87cc75391d79eb60edede1 (patch) | |
| tree | dbb75fbb8bcc0b6f698791d40aca233051b00063 | |
| parent | 0fe92f72b4d6560845332a0479c555ca915f5256 (diff) | |
| download | emacs-b404828f5f995bacec87cc75391d79eb60edede1.tar.gz emacs-b404828f5f995bacec87cc75391d79eb60edede1.zip | |
(Fx_popup_menu): Change for Lisp_Object selected_frame.
(Fx_popup_dialog): Ditto.
| -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; |