Mercurial > emacs
diff src/xmenu.c @ 73941:b662c7bb9e5f
(popup_activated): Define outside HAVE_MENUS.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 12 Nov 2006 17:52:29 +0000 |
parents | 177184091f28 |
children | e3259d353397 |
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. */