Mercurial > emacs
changeset 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 | e79e5c9e7722 |
children | 3c9b3505feef |
files | src/xmenu.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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;