Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't include ../oldXMenu/XMenu.h if USE_X_TOOLKIT. | Richard M. Stallman | 1994-12-15 | 1 | -21/+39 |
| | | | | | | | | | | | (push_menu_item): New arg DEF. (single_keymap_panes, list_of_items): Pass new arg. (MENU_ITEMS_ITEM_DEFINITION): New macro. (MENU_ITEMS_ITEM_LENGTH): Now 5. [USE_X_TOOLKIT] (xmenu_show): Store 0 in call_data if item def is 0. (single_submenu): Likewise. (xmenu_show): Call x_mouse_leave. | ||||
* | (set_frame_menubar): Don't copy string during GC risk. | Karl Heuer | 1994-10-27 | 1 | -5/+18 |
| | |||||
* | (xmenu_show): Get the screen number for DisplayHeight | Richard M. Stallman | 1994-10-22 | 1 | -3/+3 |
| | | | | and DisplayWidth. Use root_window slot in the x_display_info. | ||||
* | (xdialog_show, xmenu_show): Use grabbed field instead of x_mouse_grabbed. | Richard M. Stallman | 1994-10-20 | 1 | -6/+4 |
| | | | | | (xmenu_show): Use the screen in FRAME_X_DISPLAY_INFO, not the display's default screen. | ||||
* | Use FRAME_X_DISPLAY, not XDISPLAY or x_current_display. | Richard M. Stallman | 1994-10-19 | 1 | -18/+32 |
| | | | | | (menu_item_equiv_key): Reject equiv sequences that start with mouse clicks. | ||||
* | *** empty log message *** | Morten Welinder | 1994-10-17 | 1 | -1/+10 |
| | |||||
* | Delete HAVE_X11 conditionals. | Richard M. Stallman | 1994-10-15 | 1 | -10/+0 |
| | |||||
* | (single_keymap_panes, Fx_popup_menu): Don't use XFASTINT as an lvalue. | Karl Heuer | 1994-10-04 | 1 | -3/+3 |
| | |||||
* | (Fx_popup_menu, Fx_popup_dialog): Use new accessor macros instead of calling | Karl Heuer | 1994-10-04 | 1 | -5/+5 |
| | | | | XSET directly. | ||||
* | (widget_id_tick): Move definition into conditional. | Richard M. Stallman | 1994-10-04 | 1 | -94/+8 |
| | | | | | | | | | | | (syms_of_xmenu): Conditionalize initialization of widget_id_tick. (last_menu_bar_item_end): Var deleted. (this_menu_bar_item_beg, this_menu_bar_item_end): Vars deleted. (other_menu_bar_item_p, unread_menu_bar_button) (check_mouse_other_menu_bar): Functions deleted. (last_event_timestamp, Vdouble_click_time, Vmouse_depressed): Decls deleted. (xmenu_show): XMENU_FOO conditional and its contets deleted. | ||||
* | (popup_get_selection): Remove BLOCK_INPUT, UNBLOCK_INPUT since the | Paul Reilly | 1994-10-02 | 1 | -10/+11 |
| | | | | calls to popup_get_selection() provide the protection. | ||||
* | (widget_id_tick): Renamed from popup_id_tick. | Paul Reilly | 1994-10-02 | 1 | -346/+380 |
| | | | | | | | | | | | | | | | | | | | | | | | (popup_get_selection, popup_activated, popup_activate_callback, menubar_selection_callback, popup_deactivate_callback, single_submenu): New or replaced functions. (popup_activated_flag): New variable. (dispatch_dummy_expose, event_is_in_menu_item, map_event_to_object): Removed. (update_frame_menubar): Use lw_refigure_widget to provide widget set independence. (set_frame_menubar): Use lw_allow_resizing to control unsightly Motif menubar resizing in a widget set independent fashion. (xmenu_show): Removed menubar handling code, since that is now done in lwlib. Display a popup menu title centered and followed by two separators. Use lw_popup_menu() to display the menu. Use popup_get_selection() to deal with X11 event handling while the menu is posted. | ||||
* | (menu_item_enabled_p, single_keymap_panes, Fx_popup_menu, Fx_popup_dialog): | Karl Heuer | 1994-09-27 | 1 | -16/+16 |
| | | | | Use type test macros. | ||||
* | (menu_item_enabled_p): Fix declaration. | Karl Heuer | 1994-09-17 | 1 | -0/+1 |
| | |||||
* | Include puresize.h. | Richard M. Stallman | 1994-09-14 | 1 | -1/+5 |
| | | | | (menu_item_equiv_key): Use CHECK_IMPURE. | ||||
* | (xmenu_show): Don't queue events that are in the menu bar. | Richard M. Stallman | 1994-08-28 | 1 | -3/+8 |
| | |||||
* | (xmenu_show): Do nothing special for ButtonPress in the menu. | Richard M. Stallman | 1994-08-25 | 1 | -24/+27 |
| | | | | | | | Call XtDispatchEvent for all ButtonRelease events. xlwmenu.c now deals with posting the menu. Check for events in subwidgets of the menu when deciding whether to queue them for later handling. | ||||
* | (xmenu_show): Unconditionally update x_mouse_grabbed and Vmouse_depressed. | Richard M. Stallman | 1994-08-14 | 1 | -10/+12 |
| | |||||
* | (xmenu_show): Ignore any geometry resource from the user. | Richard M. Stallman | 1994-08-01 | 1 | -0/+8 |
| | |||||
* | [USE_X_TOOLKIT] (xmenu_show): Handle UnmapNotify events. | Richard M. Stallman | 1994-07-17 | 1 | -0/+7 |
| | |||||
* | (xmenu_show): Don't call XtUngrabPointer here. | Richard M. Stallman | 1994-07-12 | 1 | -0/+4 |
| | |||||
* | (xmenu_show) {USE_X_TOOLKIT}: ButtonPress no longer pops | Richard M. Stallman | 1994-07-07 | 1 | -0/+12 |
| | | | | | down; instead it forces the next ButtonRelease to exit. Don't dispatch on ButtonPress events. | ||||
* | (xmenu_show) [USE_X_TOOLKIT]: Keyboard input exits the menu. | Richard M. Stallman | 1994-07-07 | 1 | -4/+33 |
| | | | | | | ButtonRelease does so if within Vdouble_click_time. Ignore mouse motion if button was already released. (menu_item_selection): Declare volatile, if __STDC__. | ||||
* | (single_keymap_panes): Put menu_item_equiv_key in the gcpro. | Richard M. Stallman | 1994-06-21 | 1 | -6/+15 |
| | | | | (menu_item_equiv_key): GCPRO things. | ||||
* | Put stdio.h after config.h. | Richard M. Stallman | 1994-06-15 | 1 | -2/+2 |
| | |||||
* | (single_keymap_panes): gcpro some things. | Karl Heuer | 1994-06-13 | 1 | -0/+4 |
| | |||||
* | (xmenu_show): Don't call XMenuDestroy twice in XM_FAILURE case. | Richard M. Stallman | 1994-06-11 | 1 | -1/+0 |
| | |||||
* | (menu_item_equiv_key): Check whether def1 matches | Richard M. Stallman | 1994-06-07 | 1 | -0/+5 |
| | | | | un-aliased command name as well as given command name. | ||||
* | (xdialog_show): Fix problem with message in dialog box. | Karl Heuer | 1994-06-02 | 1 | -1/+1 |
| | |||||
* | (menu_item_equiv_key): Look for equiv keys both before | Richard M. Stallman | 1994-05-25 | 1 | -0/+7 |
| | | | | and after one stage of symbol function indirection. | ||||
* | (other_menu_bar_item_p): Return 0 if no menu bar. | Richard M. Stallman | 1994-05-19 | 1 | -0/+1 |
| | |||||
* | (xmenu_show): Don't look in menubar for core.height if no menu bar. | Richard M. Stallman | 1994-05-19 | 1 | -2/+3 |
| | |||||
* | (xmenu_show): Completely ignore nameless panes | Richard M. Stallman | 1994-05-17 | 1 | -3/+14 |
| | | | | except for the first pane. Ignore named panes too if KEYMAPS. | ||||
* | (xmenu_show): New var mb_item. Use it to determine the menubar item that | Fred Pierresteguy | 1994-05-11 | 1 | -7/+7 |
| | | | | | | led to the menu. (Fx_popup_menu): Suppress duplicate test case in the way to determine whether the menu is handling a menu bar click. | ||||
* | (string_width): Deleted. | Richard M. Stallman | 1994-05-11 | 1 | -13/+0 |
| | |||||
* | (xmenu_show): Disallow empty menus. | Karl Heuer | 1994-05-05 | 1 | -0/+11 |
| | |||||
* | (Fx_popup_menu): Restore accidentally-deleted call to mouse_position_hook. | Karl Heuer | 1994-05-05 | 1 | -0/+2 |
| | |||||
* | (xdialog_show): Clear x_mouse_grabbed. | Richard M. Stallman | 1994-04-29 | 1 | -0/+13 |
| | |||||
* | (Fx_popup_menu): Doc fix. | Richard M. Stallman | 1994-04-28 | 1 | -1/+1 |
| | |||||
* | (xmenu_show, xdialog_show): | Richard M. Stallman | 1994-04-27 | 1 | -0/+4 |
| | | | | If we unread some events, set interrupt_input_pending. | ||||
* | (xmenu_show): Fix typo in last change. | Richard M. Stallman | 1994-04-17 | 1 | -1/+1 |
| | |||||
* | (xmenu_show): Don't cons on subprefix_stck[j] if nil. | Richard M. Stallman | 1994-04-16 | 1 | -1/+2 |
| | |||||
* | (last_menu_bar_item_end): New variable. | Richard M. Stallman | 1994-04-14 | 1 | -21/+76 |
| | | | | | | | | | | | | | | (xmenu_show): Set that var. (other_menu_bar_item_p): Return 0 if mouse is not in any menu bar item. (xmenu_show, xdialog_show): Add casts in assignments to widget_value fields from string contents. (dispatch_dummy_expose): Cast arg to XtDispatchEvent. [!USE_X_TOOLKIT] (xmenu_show): Right-justify char equivalents. Use alloca for concatenated strings, if alloca is fast. [USE_X_TOOLKIT] (xmenu_show): Use XtTranslateCoords. | ||||
* | (Fx_popup_menu): Use line_height field. | Richard M. Stallman | 1994-04-09 | 1 | -1/+1 |
| | |||||
* | (Fx_popup_dialog): Doc fix. | Richard M. Stallman | 1994-04-08 | 1 | -3/+52 |
| | | | | | | | (list_of_items): Handle nil in item list as left/right boundary. (push_left_right_boundary): Record the boundary. (xmenu_show): Disregard a boundary if any. (xdialog_show): Really obey a boundary. | ||||
* | (Fx_popup_dialog): If POSITION is t, use selected frame. | Richard M. Stallman | 1994-04-03 | 1 | -5/+1 |
| | |||||
* | (Fx_popup_dialog): If POSITION is t, use selected frame. | Richard M. Stallman | 1994-04-03 | 1 | -0/+9 |
| | |||||
* | (xmenu_show): Undo part of March 11 change: | Richard M. Stallman | 1994-04-01 | 1 | -2/+3 |
| | | | | Do call lw_destroy_all_widgets at the end. | ||||
* | (set_frame_menubar): New arg, first_time. | Fred Pierresteguy | 1994-03-31 | 1 | -3/+6 |
| | | | | | Don't update the menubar the first time it is created via x_window. (initialize_frame_menubar): Pass 1 to set_frame_menubar. | ||||
* | (xmenu_show): Enable asynchronous events. | Karl Heuer | 1994-03-25 | 1 | -1/+2 |
| |