changeset 25680:841eb01263ef

(Fx_popup_menu): Change for Lisp_Object selected_frame. (Fx_popup_dialog): Ditto.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 13 Sep 1999 11:14:23 +0000
parents 8b09c5927f1c
children 3e56c05edfab
files src/xmenu.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmenu.c	Mon Sep 13 11:14:14 1999 +0000
+++ b/src/xmenu.c	Mon Sep 13 11:14:23 1999 +0000
@@ -708,7 +708,7 @@
 	  || (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 @@
     {
 #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;