* xmenu.c (x_menu_set_in_use): Fix incorrect assumption.
This commit is contained in:
parent
8eeb28635a
commit
73dba34265
2 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,6 @@
|
|||
(compare_window_configurations): Remove unused locals.
|
||||
* xfns.c (x_set_scroll_bar_default_width): Remove unused locals.
|
||||
* xmenu.c (x_menu_set_in_use): Define only if USE_GTK || USE_MOTIF.
|
||||
Omit no-longer-needed #ifdef USE_X_TOOLKIT, since USE_X_TOOLKIT is
|
||||
implied by USE_GTK || USE_MOTIF.
|
||||
(dialog_selection_callback) [!USE_GTK]: Prefer intptr_t for integers
|
||||
the same widths as pointers. This follows up on the 2011-05-06 patch.
|
||||
* xterm.c (x_alloc_lighter_color_for_widget): Define only if USE_LUCID.
|
||||
|
|
|
@ -356,8 +356,10 @@ x_menu_set_in_use (int in_use)
|
|||
{
|
||||
menu_items_inuse = in_use ? Qt : Qnil;
|
||||
popup_activated_flag = in_use;
|
||||
#ifdef USE_X_TOOLKIT
|
||||
if (popup_activated_flag)
|
||||
x_activate_timeout_atimer ();
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue