From: Gerd Moellmann Date: Mon, 13 Sep 1999 11:14:23 +0000 (+0000) Subject: (Fx_popup_menu): Change for Lisp_Object selected_frame. X-Git-Tag: emacs-pretest-21.0.90~6762 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b404828f5f995bacec87cc75391d79eb60edede1;p=emacs.git (Fx_popup_menu): Change for Lisp_Object selected_frame. (Fx_popup_dialog): Ditto. --- 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.") || (CONSP (position) && EQ (XCAR (position), Qmenu_bar))) { /* Use the mouse's current position. */ - FRAME_PTR new_f = selected_frame; + FRAME_PTR new_f = SELECTED_FRAME (); Lisp_Object bar_window; enum scroll_bar_part part; unsigned long time; @@ -907,7 +907,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 = selected_frame; + FRAME_PTR new_f = SELECTED_FRAME (); Lisp_Object bar_window; int part; unsigned long time;