summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/timer-list.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-01-31 17:59:12 +0800
committerPo Lu <luangruo@yahoo.com>2022-01-31 18:05:13 +0800
commit79896d3eb7f0d2e351196e5c896e21001b75f436 (patch)
treeaa59eb9f48fbca32d0a964ad2a9c22d714656afc /lisp/emacs-lisp/timer-list.el
parent9a56b4e6864c4e0815bb67805cfa67910ab3eeb5 (diff)
downloademacs-79896d3eb7f0d2e351196e5c896e21001b75f436.tar.gz
emacs-79896d3eb7f0d2e351196e5c896e21001b75f436.tar.bz2
emacs-79896d3eb7f0d2e351196e5c896e21001b75f436.zip
Improve portability of alpha channel handling on TrueColor visuals
* src/xfns.c (select_visual): Always ask for a TrueColor visual. * src/xfont.c (xfont_draw): * src/xftfont.c (xftfont_draw): Test `alpha_bits' instead of n_planes. * src/xterm.c (x_fill_rectangle, x_clear_rectangle): Likewise. (x_query_colors, x_alloc_nearest_color): Remove code that hard-coded alpha mask. (x_term_init): Calculate alpha bits and offset and populate field appropriately. * src/xterm.h (struct x_display_info): New fields `alpha_bits' and `alpha_offset'. (x_make_truecolor_pixel): Stop hardcoding the value of the alpha mask.
Diffstat (limited to 'lisp/emacs-lisp/timer-list.el')
0 files changed, 0 insertions, 0 deletions