]> git.eshelyaron.com Git - emacs.git/commit
Simplify X premultipled pixel allocation code
authorPo Lu <luangruo@yahoo.com>
Thu, 22 Dec 2022 07:50:12 +0000 (15:50 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 22 Dec 2022 07:51:15 +0000 (15:51 +0800)
commitf681b76a7c43ff54f1aba276f09b8fa0e0dea578
tree847994a0066d19183a996645f397c0a984be4d2e
parente98ab3f458b25812eff1b3a7ce6429caece4c891
Simplify X premultipled pixel allocation code

* src/xterm.c (x_premultiply_pixel): New function.
(x_query_colors): Improve documentation.
(x_draw_fringe_bitmap, x_query_frame_background_color): Use
x_premultiply_pixel.
src/xterm.c