changeset 73941:b662c7bb9e5f

(popup_activated): Define outside HAVE_MENUS.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 12 Nov 2006 17:52:29 +0000
parents d8d5049bfef1
children a1e596bbf76d
files src/xmenu.c
diffstat 1 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmenu.c	Sun Nov 12 17:52:05 2006 +0000
+++ b/src/xmenu.c	Sun Nov 12 17:52:29 2006 +0000
@@ -1488,14 +1488,6 @@
   f->output_data.x->saved_menu_event->type = 0;
 }
 
-/* Detect if a dialog or menu has been posted.  */
-
-int
-popup_activated ()
-{
-  return popup_activated_flag;
-}
-
 /* This callback is invoked when the user selects a menubar cascade
    pushbutton, but before the pulldown menu is posted.  */
 
@@ -3762,6 +3754,13 @@
 
 #endif /* HAVE_MENUS */
 
+/* Detect if a dialog or menu has been posted.  */
+
+int
+popup_activated ()
+{
+  return popup_activated_flag;
+}
 
 /* The following is used by delayed window autoselection.  */