]> code.delx.au - gnu-emacs/commitdiff
(popup_activated): Define outside HAVE_MENUS.
authorChong Yidong <cyd@stupidchicken.com>
Sun, 12 Nov 2006 17:52:29 +0000 (17:52 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 12 Nov 2006 17:52:29 +0000 (17:52 +0000)
src/xmenu.c

index 24be4fd5cb712ade0fc0cad574a98d542052f562..037422abde1cd381ef9a26fca8becb8b3b72f125 100644 (file)
@@ -1488,14 +1488,6 @@ x_activate_menubar (f)
   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 @@ xmenu_show (f, x, y, for_click, keymaps, title, error)
 
 #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.  */