From: Richard M. Stallman Date: Sat, 25 Feb 1995 21:28:36 +0000 (+0000) Subject: (Fx_popup_menu): Init f from selected_frame X-Git-Tag: emacs-19.34~5023 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ac8f8f7d8cf769319a8d21b4d04e323f3b4d55b5;p=emacs.git (Fx_popup_menu): Init f from selected_frame before calling mouse_position_hook. --- 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.") if (EQ (position, Qt)) { /* Use the mouse's current position. */ - FRAME_PTR new_f = 0; + FRAME_PTR new_f = selected_frame; Lisp_Object bar_window; int part; unsigned long time; @@ -916,7 +916,7 @@ on the left of the dialog box and all following items on the right.\n\ { #if 0 /* Using the frame the mouse is on may not be right. */ /* Use the mouse's current position. */ - FRAME_PTR new_f = 0; + FRAME_PTR new_f = selected_frame; Lisp_Object bar_window; int part; unsigned long time;