diff options
author | Po Lu <luangruo@yahoo.com> | 2022-02-10 18:43:08 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-02-10 18:45:35 +0800 |
commit | e16a78c44e05237b98207a7cee4b0666b7e1ac2a (patch) | |
tree | 851dcf0a3fe04ef08560a57d75bff802ca3bd7a2 /lisp/emacs-lisp/macroexp.el | |
parent | 849895d0db9c8879dedd6658f66b28b1613358ff (diff) | |
download | emacs-e16a78c44e05237b98207a7cee4b0666b7e1ac2a.tar.gz emacs-e16a78c44e05237b98207a7cee4b0666b7e1ac2a.tar.bz2 emacs-e16a78c44e05237b98207a7cee4b0666b7e1ac2a.zip |
Correctly allocate colors in xftfont
* src/xftfont.c (struct xftface_info): New fields
`bg_allocated_p' and `fg_allocated_p'.
(xftfont_get_colors): Actually allocate colors and tell the
caller whether colors were allocated.
(xftfont_prepare_face): Set allocated fields.
(xftfont_done_face):
(xftfont_draw): Free colors that were allocated.
Diffstat (limited to 'lisp/emacs-lisp/macroexp.el')
0 files changed, 0 insertions, 0 deletions