diff options
author | Po Lu <luangruo@yahoo.com> | 2022-03-07 21:08:07 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-03-07 21:10:53 +0800 |
commit | 8a7df412a640c8b2334b78ec0ca872a6d11e8b0e (patch) | |
tree | b8e0f6d4bc8ddf9bcc82178e67d6f3fafb12484c /lisp/emacs-lisp | |
parent | 4b0e1c6502534298465675a32ff65653c12df17d (diff) | |
download | emacs-8a7df412a640c8b2334b78ec0ca872a6d11e8b0e.tar.gz emacs-8a7df412a640c8b2334b78ec0ca872a6d11e8b0e.tar.bz2 emacs-8a7df412a640c8b2334b78ec0ca872a6d11e8b0e.zip |
Improve color handling on colormapped displays
* src/xfns.c (select_visual): Set `visual_info' field whenever
appropriate.
(x_create_tip_frame, XDisplayCells): Don't access private fields
of Visual.
* src/xterm.c (x_color_cells, x_alloc_nearest_color_1): Use
colormap_size instead of default cell count.
(XTflash, x_bitmap_icon, x_term_init):
* src/xterm.h (struct x_display_info, FRAME_X_VISUAL_INFO): Stop
accessing private fields of Visual.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions