aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-02-25 21:28:36 +0000
committerRichard M. Stallman1995-02-25 21:28:36 +0000
commitac8f8f7d8cf769319a8d21b4d04e323f3b4d55b5 (patch)
tree3dcf37d1c6196c9edea3b4981cc70b3e5f07cacd /src
parent3a2485be17c9ec8ed549bf001a1bf478b5371cdc (diff)
downloademacs-ac8f8f7d8cf769319a8d21b4d04e323f3b4d55b5.tar.gz
emacs-ac8f8f7d8cf769319a8d21b4d04e323f3b4d55b5.zip
(Fx_popup_menu): Init f from selected_frame
before calling mouse_position_hook.
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 05edbb55ad0..5806a1c1173 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -726,7 +726,7 @@ cached information about equivalent key sequences.")
726 if (EQ (position, Qt)) 726 if (EQ (position, Qt))
727 { 727 {
728 /* Use the mouse's current position. */ 728 /* Use the mouse's current position. */
729 FRAME_PTR new_f = 0; 729 FRAME_PTR new_f = selected_frame;
730 Lisp_Object bar_window; 730 Lisp_Object bar_window;
731 int part; 731 int part;
732 unsigned long time; 732 unsigned long time;
@@ -916,7 +916,7 @@ on the left of the dialog box and all following items on the right.\n\
916 { 916 {
917#if 0 /* Using the frame the mouse is on may not be right. */ 917#if 0 /* Using the frame the mouse is on may not be right. */
918 /* Use the mouse's current position. */ 918 /* Use the mouse's current position. */
919 FRAME_PTR new_f = 0; 919 FRAME_PTR new_f = selected_frame;
920 Lisp_Object bar_window; 920 Lisp_Object bar_window;
921 int part; 921 int part;
922 unsigned long time; 922 unsigned long time;