| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
the mouse into the menu-bar and releasing it there did
not create a drag-mouse event.
(set-input-mode) [MSDOS]: Do not call reset_sys_modes and init_sys_modes.
|
| | |
|
| |
|
|
|
| |
(syms_of_keyboard): Set up Lisp variable.
(Fexecute_extended_command): When enabled, show an equivalent key binding.
|
| |
|
|
|
|
|
| |
(read_char_x_menu_prompt):
When unreading events generated by a menu,
turn symbols and integers into lists,
for the sake of last_nonmenu_event and thus y-or-n-p.
|
| | |
|
| |
|
|
|
|
|
| |
commands if `disable-command-hook' is nil.
(read_key_sequence): Validate the event position
before calling get_local_map.
|
| | |
|
| |
|
|
|
| |
(syms_of_keyboard): Set up new vars.
(command_loop_1): Run Qpost_command_idle_hook.
|
| |
|
|
|
| |
Instead, put back the orig_uppercase event if key is not defined.
When downcasing, back up one step in key-translation processing.
|
| |
|
|
|
| |
if that fails to make it bound.
(follow_key): Don't alter contents of NEXT until the end.
|
| | |
|
| |
|
|
|
|
|
|
| |
discarding one event from the queue, if we process the event here.
(swallow_events): Likewise.
(Vkey_translation_map): Just declare, don't define.
(syms_of_keyboard): Don't set up Lisp var.
|
| |
|
|
| |
Handle menu_bar_activate_event by calling x_activate_menubar.
|
| |
|
|
| |
only if the minibuffer is in the same place as the echo area.
|
| |
|
|
|
|
|
|
|
| |
(kbd_buffer_get_event, readable_events):
Check mouse_moved in all frames.
Check do_mouse_tracking for non-nil ness.
(Ftrack_mouse): Set do_mouse_tracking to t.
(kbd_buffer_get_event): Discard a selection_clear_event
before processing it.
|
| |
|
|
| |
while checking Vspecial_event_map.
|
| |
|
|
|
|
|
|
| |
(syms_of_keyboard): Define Lisp var; init the map.
(read_char): Look up each event in Vspecial_event_map; if bound,
execute the binding here and read another event.
(keys_of_keyboard): Make bindings for iconify-frame,
make-frame-visible and delete-frame.
|
| |
|
|
| |
for the first character in a key seq.
|
| |
|
|
|
|
|
|
| |
(before_command_key_count, before_command_echo_length)
(before_command_restore_flag): New variables.
(add_command_key): If requested, reset the lengths.
(command_loop_1): Record current lengths before reading cmd.
(read_char): Update the recorded length before echoing.
|
| |
|
|
| |
testing poll_suppress_count.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
(syms_of_keyboard): Defvar it.
(read_key_sequence, menu_bar_items):
Check Voverriding_terminal_local_map before Voverriding_local_map.
(command_loop_1): In special handling for commands
that create a prefix arg, don't handle commands that merely
preserve one that was previously created.
|
| | |
|
| |
|
|
|
| |
If the char to type doesn't match the prompt string,
show the char explicitly.
|
| |
|
|
|
|
| |
(make_lispy_event): Use the struct member.
(init_kboard): Initialize it.
(syms_of_keyboard): Delete initialization and staticpro.
|
| |
|
|
|
|
|
| |
and only for certain purposes. table_size now unsigned.
(modify_event_symbol) [HAVE_X_WINDOWS]: Use x_get_keysym_name.
(make_lispy_event): Don't mask high bits here.
Supply -1 as table_size for system-specific keys.
|
| |
|
|
|
|
| |
(command_loop_1): Make last_command be kboard-local.
(syms_of_keyboard): Defvar it.
(init_kboard): Initialize it.
|
| |
|
|
| |
(syms_of_keyboard): defsubr it.
|
| |
|
|
|
|
| |
(syms_of_keyboard): Set up Lisp var.
(help_char_p): New function.
(read_char, echo_char, read_key_sequence): Use help_char_p.
|
| |
|
|
| |
or call recompute-lucid-menubar.
|
| |
|
|
|
| |
(Fexecute_extended_command, init_kboard, syms_of_keyboard):
Undo Feb 28 change; prefix arg handling is now in Lisp code again.
|
| |
|
|
|
| |
(menu_bar_items): Likewise, for arg of current_minor_maps.
(record_char): Add cast.
|
| |
|
|
| |
Use NULL, not 0, as arg of pixel_to_glyph_coords.
|
| |
|
|
|
| |
what the user specified, and set interrupt_input in the preferred
way for this system.
|
| |
|
|
| |
(do_mouse_tracking): Always declare this var.
|
| | |
|
| |
|
|
| |
the wrong kboard, don't let it get processed twice.
|
| | |
|
| | |
|
| |
|
|
|
| |
(parse_modifiers): modifiers is an int, not an EMACS_INT.
(read_key_sequence): Pass modifiers as int, not EMACS_INT.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
[USE_X_TOOLKIT]: Set *USED_MOUSE_MENU if returning menu-bar symbols.
(read_char): Pass used_mouse_menu to kbd_buffer_get_event.
This variable is now meaningful for toolkit menus as well as
non-toolkit menus.
|
| |
|
|
| |
menu-bar clicks when processing mouse clicks.
|
| |
|
|
|
|
| |
(init_kboard): Initialize Vsystem_key_alist member.
(syms_of_keyboard): Change DEFVAR_LISP to DEFVAR_KBOARD.
(make_lispy_event): Use the kboard's alist instead of the global.
|
| |
|
|
|
| |
(safe_run_hooks): Handle errors to clear the hook,
instead of always clearing it temporarily.
|
| | |
|
| |
|
|
|
|
|
| |
(read_char): Rearrange code so that getcjmp is set
only around sit_for and kbd_buffer_get_event, and
and polling is stopped only around the kbd_buffer_get_event call.
(Ftrack_mouse, tracking_off, read_char): Don't call prepare_menu_bars.
|
| | |
|
| |
|
|
| |
initial_kboard should already exist for that.
|