1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-28 10:56:36 +00:00

(popup_activated): Define outside HAVE_MENUS.

This commit is contained in:
Chong Yidong 2006-11-12 17:52:29 +00:00
parent b071677f0e
commit b79b8a1c52

View 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. */