| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
RGB values.
|
| |
|
|
|
| |
we have a color cache, check that the cached color equals the
allocated color. If not, clear the color cache.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(get_keymap): Remove.
(get_keymap_1): Rename get_keymap.
* keyboard.h (get_keymap_1, Fkeymapp): Remove prototype.
* xterm.c (note_mode_line_highlight): Use KEYMAPP.
* xmenu.c (single_submenu): Use KEYMAPP.
(Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
Use KEYMAPP rather than Fkeymapp.
* w32term.c (note_mode_line_highlight): Use KEYMAPP.
* w32menu.c (True, False): Remove (use TRUE and FALSE instead).
(Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
Use KEYMAPP rather than Fkeymapp.
(single_submenu): Use KEYMAPP.
(w32_menu_show, w32_dialog_show): Use TRUE.
* minibuf.c (Fread_from_minibuffer): Update call to get_keymap.
* keymap.c (KEYMAPP): Remove (moved to lisp.h).
(Fkeymapp): Use KEYMAPP.
(get_keymap): Rename from get_keymap_1. Remove old def.
Return t when autoload=0 and error=0 and the keymap needs autoloading.
(Fcopy_keymap): Check (eq (car x) 'keymap) rather than using Fkeymapp.
(Fminor_mode_key_binding): Don't raise an error if the binding
is not a keymap.
(Fuse_global_map, Fuse_local_map): Allow autoloading.
(Faccessible_keymaps): Fetch keymaps rather than checking Fkeymapp.
* keyboard.c (read_char): get_keymap_1 -> get_keymap.
Allow Vspecial_event_map to be autoloaded.
(menu_bar_items): Fetch the keymap rather than using keymapp.
(menu_bar_one_keymap): No need to follow func-indirect any more.
(parse_menu_item): get_keymap_1 -> get_keymap.
(tool_bar_items): Fetch the keymap rather than using keymapp.
(read_key_sequence): Use KEYMAPP.
* intervals.c (get_local_map): Use get_keymap rather than following
function-indirections explicitly.
* doc.c (Fsubstitute_command_keys): get_keymap_1 -> get_keymap.
|
| |
|
|
|
| |
signed value, and use a default value computed from the font's
maximum descent.
|
| |
|
|
| |
negative underline position can still use underlines.
|
| | |
|
| |
|
|
| |
can't be exactly centered, it errs up rather than down.
|
| | |
|
| |
|
|
|
|
|
| |
functions.
(x_alloc_nearest_color): Use it to reduce calls to XQueryColors
which can be slow.
(x_copy_color, x_alloc_lighter_color): Likewise.
|
| |
|
|
| |
XFillRectangle.
|
| |
|
|
| |
correctly.
|
| |
|
|
| |
visible.
|
| | |
|
| | |
|
| |
|
|
| |
cursor for buffers whose cursor_type is nil.
|
| |
|
|
|
|
| |
a feature to implement that is already implemented.
(note_mouse_highlight, x_find_ccl_program): Avoid some compiler
warnings.
|
| |
|
|
|
| |
position to the next tab stop is less than a canonical character
width, use the tab stop after that.
|
| |
|
|
| |
of bounds more carefully.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
(XTread_socket): Work around a bug of XmbLookupString. If the
input is from XIM, decode it according to the current locale. In
that case, generate multibyte_char_keystroke events.
|
| |
|
|
| |
box cursor because that's better visible for large images.
|
| | |
|
| |
|
|
| |
of the clip area when image doesn't have a mask.
|
| |
|
|
| |
order of priority.
|
| |
|
|
|
| |
overlay, use that overlay as the object in which the help was
found.
|
| | |
|
| |
|
|
|
|
|
| |
(note_mouse_highlight, note_tool_bar_highlight): Set
help_echo_window.
(XTread_socket): Pass help_echo_window to gen_help_event.
(syms_of_xterm): Initialize and staticpro help_echo_window.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(note_mode_line_highlight): Store additional information about the
help-echo in help_echo_object and help_echo_pos. Check both
`local-map' and `keymap' properties for changing the cursor
(note_mouse_highlight): Store additional information about the
help-echo in help_echo_object and help_echo_pos.
(note_tool_bar_highlight): Set help_echo_object to nil and
help_echo_pos to -1.
(XTread_socket): Use gen_help_event instead of filling
input_events manually.
(syms_of_xterm): Staticpro help_echo_object.
|
| |
|
|
|
|
| |
(x_scroll_bar_handle_click, SET_SAVED_MENU_EVENT, XTread_socket):
Always set `arg' member of input_events.
(construct_menu_click): Unused function removed.
|
| |
|
|
|
|
|
|
|
| |
frame_or_window slot of TOOL_BAR_EVENT input events instead of
consing. For prefix events, store the frame in the `arg' slot of
the event, otherwise store the key there.
(XTread_socket): Instead of consing, use the frame_or_window slot
of HELP_EVENTs for the frame, and the `arg' slot for the help
string.
|
| |
|
|
|
|
|
| |
MOUSE_FACE_OVERWRITTEN_P. If set, arrange for a mouse-highlight
redisplay in XTframe_up_to_date.
(x_clear_mouse_face): New function.
(x_redisplay_interface): Add pointer to x_clear_mouse_face.
|
| |
|
|
|
|
|
| |
highlight here.
(show_mouse_face): Set the mouse_face_p flag of glyph rows
depending on whether they contain glyphs highlighted in
mouse-face.
|
| |
|
|
|
|
|
| |
glyphs instead of a single one.
(BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string
with new argument list.
(x_set_glyph_string_gc): Make sure the face's GC is valid.
|
| |
|
|
| |
decrement it at the end.
|
| |
|
|
|
|
|
|
|
| |
(note_tool_bar_highlight, XTread_socket):
* msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight)
(dos_rawgetc):
* w32term.c (note_mode_line_highlight, note_mouse_highlight)
(note_tool_bar_highlight, w32_read_socket):
Do not gratuitously ignore non-string `help-echo' properties.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(x_produce_image_glyph, x_append_stretch_glyph): Accomodate to
changes in struct glyph starting 1999-12-27. Some bit-fields of
struct glyph were not set, which made glyphs unequal when compared
with GLYPH_EQUAL_P. Redisplay outputs such glyphs, and flickering
effects were the result. This also depended on the contents of
memory returned by xmalloc. If flickering happens again, activate
the code in clear_glyph_row that's in #if 0. If the flickering is
gone with that, chances are that it is caused by something
similar.
|
| |
|
|
|
|
| |
display info for XIM.
(xim_open_dpy): Likewise.
(xim_close_dpy): Don't free the display info's XIM.
|
| |
|
|
| |
with !USG (following xmenu.c).
|
| | |
|
| |
|
|
| |
returns XLookupChars, reset `modifiers' to zero.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
(x_alloc_nearest_color_for_widget): Use it.
(x_copy_dpy_color): New function.
(x_destroy_window): Free various colors.
|
| |
|
|
| |
access the data it doesn't point to.
|
| |
|
|
|
|
|
|
|
|
|
| |
will be translated to a switch-frame event in when reading the
event queue. This is necessary because Emacs otherwise won't
perform a switch-frame to a new frame until some other event, for
example a keystroke event, forces it to do so. This has various
effects, one visible being that the cursor of a frame created with
C-x 5 2 or switched to with a window manager key binding like
A-TAB stays hollow because selected_window isn't on the newly
focused frame until the switch-frame is performed.
|
| |
|
|
| |
this isn't true for images with `:ascent 100'.
|
| | |
|
| |
|
|
| |
glyph, use the ASCII NUL character to determine the face.
|
| |
|
|
| |
that x_per_char_metric returns null.
|