Mercurial > emacs
diff src/xmenu.c @ 10835:cd9261d8d347
(Fx_popup_menu): Init f from selected_frame
before calling mouse_position_hook.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 25 Feb 1995 21:28:36 +0000 |
parents | b7824d6a6b36 |
children | dc78213dd2b3 |
line wrap: on
line diff
--- a/src/xmenu.c Sat Feb 25 20:57:45 1995 +0000 +++ b/src/xmenu.c Sat Feb 25 21:28:36 1995 +0000 @@ -726,7 +726,7 @@ 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 @@ { #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;