diff options
author | Alan Third <alan@idiocy.org> | 2019-11-09 17:04:25 +0000 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2019-11-29 21:22:26 +0000 |
commit | 3e9c82d99902230812c10e8d464f4908a8a6ea42 (patch) | |
tree | c5698e1d0c7158a63af8572148d0592731dfe209 /lisp/emacs-lisp/lisp-mode.el | |
parent | b1a69505843c593a3a757a614dea16e2a7185579 (diff) | |
download | emacs-3e9c82d99902230812c10e8d464f4908a8a6ea42.tar.gz emacs-3e9c82d99902230812c10e8d464f4908a8a6ea42.tar.bz2 emacs-3e9c82d99902230812c10e8d464f4908a8a6ea42.zip |
Fix image scaling with masks (bug#38109)
* src/image.c (lookup_image): Move call to image_set_transform after
postprocess_image.
(image_create_x_image_and_pixmap_1): Use new function.
(image_set_transform): Apply the transform to the mask too.
(x_create_xrender_picture): New function.
(Create_Pixmap_From_Bitmap_Data):
(xpm_load): Use new function.
* src/xterm.c (x_composite_image): Use PictOpOver when there is a mask
so the transparency is honoured.
(x_draw_image_foreground_1): Use x_composite_image.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions