From b79b8a1c520eec3863903a17ac294a556ea7730f Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 12 Nov 2006 17:52:29 +0000 Subject: [PATCH] (popup_activated): Define outside HAVE_MENUS. --- src/xmenu.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/xmenu.c b/src/xmenu.c index 24be4fd5cb..037422abde 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -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. */ -- 2.39.2