summaryrefslogtreecommitdiff
path: root/src/keyboard.h
Commit message (Collapse)AuthorAgeFilesLines
* (num_input_events, num_nonmacro_input_events):Richard M. Stallman1997-05-191-2/+2
| | | | Renamed from ..._input_chars.
* Removed support for !MULTI_FRAME.Karl Heuer1996-09-011-3/+0
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* (struct kboard): Add Voverriding_terminal_local_map.Karl Heuer1995-06-161-0/+7
|
* (struct kboard): New member system_key_syms.Karl Heuer1995-06-091-0/+3
|
* (struct kboard): New member Vlast_command.Karl Heuer1995-06-091-0/+4
|
* (Vlucid_menu_bar_dirty_flag): Declare this variable.Karl Heuer1995-06-091-0/+3
| | | | (Qrecompute_lucid_menubar, Qactivate_menubar_hook): Likewise.
* (struct kboard): member Vprefix_arg restored, replacingKarl Heuer1995-06-071-13/+2
| | | | prefix_factor, prefix_value, prefix_sign, and prefix_partial.
* (struct kboard): New member Vdefault_minibuffer_frame.Karl Heuer1995-05-091-0/+3
|
* (struct kboard): New member Vsystem_key_alist.Karl Heuer1995-04-241-0/+3
|
* Comment changes.Karl Heuer1995-04-111-1/+11
|
* (single_kboard): Renamed from kboard_locked. All refs renamed.Richard M. Stallman1995-04-101-0/+133
| | | | | | | | (struct kboard): Renamed from struct KBOARD. Move flag fields to the end, and make them chars. Delete the `unused' field. (KBOARD, etc): Moved from lisp.h.
* (EVENT_HAS_PARAMETERS): Use type test macros.Karl Heuer1994-09-271-2/+1
|
* (polling_for_input): Declared.Richard M. Stallman1994-08-281-0/+3
|
* (map_prompt): Declared.Richard M. Stallman1994-04-161-0/+1
|
* * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): NewJim Blandy1993-07-051-0/+4
| | | | accessors.
* Apply typo patches from Paul Eggert.Jim Blandy1993-06-091-1/+1
|
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* * keyboard.h (internal_last_event_frame): This should be extern,Jim Blandy1993-03-141-1/+1
| | | | dummy.
* Use the term `scroll bar', instead of `scrollbar'.Jim Blandy1993-03-021-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | * alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h, lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c, xterm.c, xterm.h: Terminology changed. Don't generate switch-frame events by checking Vlast_event_frame; use a separate variable for that bookkeeping. In order to generate them properly, we may need to fiddle with it. * keyboard.c (internal_last_event_frame): New variable. (command_loop_1): Check internal_last_event_frame, not Vlast_event_frame. (read_char, kbd_buffer_store_event): Set both Vlast_event_frame and internal_last_event_frame. (kbd_buffer_get_event): Check internal_last_event_frame to decide whether to generate a switch-frame event. Set Vlast_event_frame after each event. (init_keyboard): Initialize both Vlast_event_frame and internal_last_event_frame. * keyboard.h (internal_last_event_frame): Add extern declaration for this. * frame.c (Vlast_event_frame): Remove external declaration for this. (Fselect_frame): Set internal_last_event_frame to Qnil to force a switch-frame event, not Vlast_event_frame; the latter is supposed to convey information to the user.
* JimB's changes since January 18thJim Blandy1993-01-261-2/+1
|
* * keyboard.c (Qscrollbar_movement, Qvertical_scrollbar,Jim Blandy1992-12-241-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qabove_handle, Qhandle, Qbelow_handle): New symbols. (make_lispy_event): New code to build scrollbar clicks. (make_lispy_movement): New code to handle scrollbar movement. (head_table): Include Qscrollbar_movement in the event heads. (syms_of_keyboard): Init and staticpro Qvertical_scrollbar, Qabove_handle, Qhandle, and Qbelow_handle. * keyboard.h (Qscrollbar_movement): Declare this along with the other event types. * lisp.h (Qvertical_scrollbar): Declare this. * window.c (window_from_scrollbar): New function. * xterm.h (struct x_display): Delete v_scrollbar, v_thumbup, v_thumbdown, v_slider, h_scrollbar, h_thumbup, h_thumbdown, h_slider, v_scrollbar_width, h_scrollbar_height fields. * keyboard.c (Qvscrollbar_part, Qvslider_part, Qvthumbup_part, Qvthumbdown_part, Qhscrollbar_part, Qhslider_part, Qhthumbup_part, Qhthumbdown_part, Qscrollbar_click): Deleted; part of an obsolete interface. (head_table): Removed from here as well. (syms_of_keyboard): And here. * keyboard.h: And here. (POSN_SCROLLBAR_BUTTON): Removed. * xscrollbar.h: File removed - no longer necessary. * xfns.c: Don't #include it any more. (Qhorizontal_scroll_bar, Qvertical_scroll_bar): Deleted. (syms_of_xfns): Don't initialize or staticpro them. (gray_bits): Salvaged from xscrollbar.h. (x_window_to_scrollbar): Deleted. (x_set_horizontal_scrollbar): Deleted. (enum x_frame_parm, x_frame_parms): Remove references to x_set_horizontal_scrollbar. (x_set_foreground_color, x_set_background_color, x_set_border_pixel): Remove special code to support scrollbars. (Fx_create_frame): Remove old scrollbar setup code. (install_vertical_scrollbar, install_horizontal_scrollbar, adjust_scrollbars, x_resize_scrollbars): Deleted. * xterm.c (construct_mouse_click): This doesn't need to take care of scrollbar clicks anymore. (XTread_socket): Remove old code to support scrollbars. Call new functions instead for events which occur in scrollbar windows. (XTupdate_end): Remove call to adjust_scrollbars; the main redisplay code takes care of that now. (enum window_type): Deleted. * ymakefile: Note that xfns.o no longer depends on xscrollbar.h.
* * keyboard.h (get_keymap_1, Fkeymapp, reorder_modifiers,Jim Blandy1992-10-311-0/+5
| | | | Fmouse_click_p, read_char): Add external declarations for these.
* * keyboard.h (this_command_keys): Extern declaration changed. Doc fix.Jim Blandy1992-10-191-3/+6
|
* * keyboard.h (Qswitch_frame): Declare this extern.Jim Blandy1992-10-111-0/+5
| | | | | * keyboard.h (this_command_keys, this_command_key_count): Added external declarations.
* Doc fixes.Jim Blandy1992-10-031-3/+4
|
* * keyboard.h (EVENT_HAS_PARAMETERS): Definition changed - all eventsJim Blandy1992-10-021-10/+18
| | | | | | | | | | | | | | | | | | | | | are not 5 elements long. (EVENT_HEAD): Work correctly on all sorts of events, not just events with parameters. (EVENT_WINDOW, EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON, EVENT_WINDOW_POSN, EVENT_TIMESTAMP): These aren't useful anymore; this information may appear twice in an event. These are replaced by the POSN_ accessors, which are meant to be composed with the EVENT_START and EVENT_END accessors. (EVENT_START, EVENT_END): Two new accessors, to get at the starting and ending position of an event. (POSN_WINDOW, POSN_BUFFER_POSN, PONS_SCROLLBAR_BUTTON, POSN_WINDOW_POSN, POSN_TIMESTAMP): New macros, to futher diasassemble the values returned by EVENT_START and EVENT_END. * keyboard.h (Qevent_unmodified): Extern declaration replaced by... (Qevent_symbol_elements): This. (EVENT_HEAD_UNMODIFIED): Use the Qevent_symbol_elements property, rather than the Qevent_unmodified property.
* * keyboard.h (num_nonmacro_input_chars): Added extern declarationJim Blandy1992-09-221-0/+3
| | | | for this.
* entered into RCSJim Blandy1992-09-131-0/+3
|
* *** empty log message ***Jim Blandy1992-06-301-3/+3
|
* Initial revisionJim Blandy1992-01-281-0/+68