aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
Commit message (Collapse)AuthorAgeFilesLines
* (Fx_popup_menu): Do fix.Richard M. Stallman1997-05-091-0/+4
|
* (set_frame_menubar): When widget is new, forget records of old contents.Richard M. Stallman1997-04-251-0/+5
|
* (Fx_popup_menu): Don't use Lisp_Object as integer.Karl Heuer1997-04-101-3/+5
| | | | (set_frame_menubar): Likewise.
* (single_keymap_panes): New arg DEPTH.Richard M. Stallman1996-12-261-7/+15
| | | | Cut off recursion at that depth. Callers changed.
* (set_frame_menubar): Call Fmatch_data with new explicit arguments.Richard M. Stallman1996-12-191-1/+1
|
* (Vmenu_updating_frame): New variable.Richard M. Stallman1996-12-101-0/+12
| | | | | (syms_of_xmenu): Set up Lisp var. (Fx_popup_menu, set_frame_menubar): Initialize it.
* (Fx_popup_menu): Give the menu a title when the menu is a single keymap.Richard M. Stallman1996-10-091-0/+2
|
* (set_frame_menubar): Don't add ibw to menubar_size.Richard M. Stallman1996-08-271-0/+3
|
* (xdialog_show): Don't allow 9 buttons.Richard M. Stallman1996-08-241-1/+1
|
* (xmenu_show): Set dummy.state.Richard M. Stallman1996-08-081-2/+12
| | | | | Set dummy.button appropriately. (popup_get_selection) [USE_MOTIF]: Set event.xbutton.button.
* (pending_menu_activation): Don't initialize. Not static.Richard M. Stallman1996-07-311-4/+18
| | | | | | | (set_frame_menubar): If no saved_menu_event yet, set deep_p. Don't clear pending_menu_activation here. (Fx_popup_dialog): Don't fail to initialize WINDOW.
* Comment change.Richard M. Stallman1996-07-281-1/+1
|
* (pending_menu_activation): New variable.Richard M. Stallman1996-07-271-3/+12
| | | | | | (x_activate_menubar): Don't call set_frame_menubar for ButtonRelease events. Instead, set pending_menu_activation. (set_frame_menubar): If pending_menu_activation, set deep_p.
* (set_frame_menubar): Use -1 for call_dataRichard M. Stallman1996-07-251-0/+5
| | | | in the deep_p = 0 case.
* (x_activate_menubar): Allow any event, not just ButtonPress.Karl Heuer1996-07-161-4/+4
|
* (popup_get_selection): For a ButtonRelease on the properKarl Heuer1996-07-071-3/+10
| | | | display, don't queue it, and always deactivate the menu.
* (Qmenu_alias): New variable.Richard M. Stallman1996-06-131-1/+7
| | | | | (syms_of_xmenu): Initialize it. (menu_item_equiv_key): Check this property on the definition.
* (single_submenu): Handle non-keymap lists like symbols.Richard M. Stallman1996-05-311-1/+5
|
* (set_frame_menubar): FRAME_MENU_BAR_ITEMS now has four elements per item.Richard M. Stallman1996-04-291-3/+3
|
* Put most of file into HAVE_MENUS conditional.Richard M. Stallman1996-03-031-0/+10
| | | | (Fx_popup_menu): Put parts into HAVE_MENUS conditionals.
* (xmalloc_widget_value): Define only if USE_X_TOOLKIT.Richard M. Stallman1996-02-121-14/+13
|
* (xmalloc_widget_value): Fix previous change.Richard M. Stallman1996-02-111-2/+2
|
* (xmalloc_widget_value): New function.Richard M. Stallman1996-02-111-14/+28
| | | | Use it instead of malloc_widget_value.
* (set_frame_menubar):Karl Heuer1996-01-241-1/+1
| | | | Use safe_run_hooks for Qmenu_bar_update_hook.
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* Comment fixes.Karl Heuer1996-01-051-2/+2
|
* Comment change.Richard M. Stallman1995-12-231-1/+2
|
* (set_frame_menubar): When called with deep_p == 0,Richard M. Stallman1995-11-261-1/+6
| | | | that invalidates the previous f->menu_bar_vector.
* Don't include Xaw/Paned.h unless USE_LUCID is defined.Richard M. Stallman1995-11-101-0/+4
| | | | | | (set_frame_menubar): Conditionalized some code on USE_LUCID that depends on the fact that the parent widget of the menu bar is an Xaw "Paned" widget.
* (popup_get_selection): Pop menu down if button is pressedRichard M. Stallman1995-09-241-0/+12
| | | | | | outside the menu. (xmenu_show): Ignore `quote' when looking up the result.
* [USE_X_TOOLKIT] (xmenu_show): Compute root-basedRichard M. Stallman1995-08-021-5/+51
| | | | | | coordinates. Make a dummy event to pass them to lw_popup_menu. (single_submenu): Only ignore 1st char of pane name if that is an @.
* Do renamings:Karl Heuer1995-07-261-1/+1
| | | | frame->display => frame->output, struct x_display -> struct x_output.
* Renamings: frame->display => frame->output, struct x_display -> sruct x_output.Richard M. Stallman1995-07-251-30/+30
|
* Include buffer.h.Richard M. Stallman1995-07-251-118/+198
| | | | | | | | | | | | | | (x_activate_menubar): New function. (set_frame_menubar): New arg deep_p. Callers changed. Run various hooks here when deep_p is true. (frame_vector): Variable deleted. (syms_of_xmenu): Don't staticpro it. (frame_vector_add_frame): Function deleted. (menubar_id_to_frame): New function. (menubar_selection_callback): Use menubar_id_to_frame. (next_menubar_widget_id): New variable. (set_frame_menubar): Use next_menubar_widget_id. (free_frame_menubar): Get id from f->display.x->id.
* (set_frame_menubar): If the Lisp-level menu bar menusRichard M. Stallman1995-07-211-5/+29
| | | | are unchanged, don't recompute the widgets.
* (syms_of_xmenu): Set up Qdebug_on_next_call.Richard M. Stallman1995-07-211-0/+8
| | | | (set_frame_menubar): Bind it to nil.
* (single_submenu): Handle commands appearing directly in the menu bar.Richard M. Stallman1995-06-291-2/+23
|
* (menu_item_enabled_p_1): Special handling for quit.Richard M. Stallman1995-06-221-0/+10
| | | | (set_frame_menubar): Inhibit quitting.
* (menu_item_equiv_key): Do reconsider a command that hadRichard M. Stallman1995-06-171-3/+9
| | | | no equivalent before, if it is in Vdefine_key_rebound_commands.
* (frame_vector_add_frame): Don't forget to storeKarl Heuer1995-06-121-0/+1
| | | | the longer vector.
* (xmenu_show): Do call lw_destroy_all_widgets.Karl Heuer1995-06-091-5/+4
| | | | | (xdialog_show): Likewise. (popup_get_selection): Don't call it here.
* (xmenu_show): If !HAVE_X_WINDOWS, don't reference X display.Karl Heuer1995-06-081-0/+2
|
* (set_frame_menubar): Always call update_frame_menubar.Karl Heuer1995-05-301-4/+7
|
* (popup_get_selection): Force deactivation if key pressed.Karl Heuer1995-05-261-4/+14
| | | | | New arg `id'. (xdialog_show, xmenu_show): Pass new arg to popup_get_selection.
* (xmenu_show, xdialog_show): Increment widget_id_tickKarl Heuer1995-05-251-9/+14
| | | | | in the same was as in xfns.c. Use LWLIB_ID type where appropriate. (set_frame_menubar, free_frame_menubar): Add casts to LWLIB_ID.
* (Fx_popup_dialog): Treat (menu-bar) like t, for POSITION.Karl Heuer1995-05-241-4/+3
|
* (set_frame_menubar): Set menubar_height field.Karl Heuer1995-05-241-0/+19
|
* (xmenu_show, menubar_selection_callback): Move declarationKarl Heuer1995-05-021-6/+2
| | | | of entry to an outer block, to guarantee its value is preserved.
* (popup_get_selection): Use x_non_menubar_window_to_frame.Karl Heuer1995-04-291-7/+11
| | | | | | | | | Either queue or dispatch the event, but not both. (dialog_selection_callback): Clear popup_activated_flag. (Fx_popup_menu): If POSITION is just (menu-bar), use the current mouse position. (menubar_selection_callback): Use (menu-bar) instead of 'menu-bar.
* (xmenu_show): x_mouse_leave needs an arg.Karl Heuer1995-04-241-1/+1
|