]> git.eshelyaron.com Git - emacs.git/commit
Avoid redundant creation of XRender pictures
authorPo Lu <luangruo@yahoo.com>
Fri, 14 Oct 2022 07:52:16 +0000 (15:52 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 14 Oct 2022 07:56:15 +0000 (15:56 +0800)
commit6ea69fc7340e48cf73df351a544c1d8946395b3d
tree2046b8dad9f6385ec8b66d64d4a405b03deff871
parent9074103fbff70a30664b291f5ea3af443f88e4d8
Avoid redundant creation of XRender pictures

* src/xterm.c (x_composite_image): Take arg DESTINATION.  Do not
create a picture if it is set.
(x_draw_image_foreground, x_draw_image_foreground_1): Pass
destination where appropriate.
src/xterm.c