diff options
author | Alan Third <alan@idiocy.org> | 2024-12-27 11:46:45 +0000 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2024-12-28 12:36:58 +0000 |
commit | 691c161a81221905f7e2690ee747ba9163b1b645 (patch) | |
tree | b0388ea615aba5f716d1a2ee9eff2b2d4358b836 /lisp/emacs-lisp/cursor-sensor.el | |
parent | 63cc335a524ab5b6fb8e9bc93041382baf1321db (diff) | |
download | emacs-691c161a81221905f7e2690ee747ba9163b1b645.tar.gz emacs-691c161a81221905f7e2690ee747ba9163b1b645.tar.bz2 emacs-691c161a81221905f7e2690ee747ba9163b1b645.zip |
Make image cache aware of image-scaling-factor (bug#74725)
* src/dispextern.h (struct image): Add scale so it can be compared in
search_image_cache.
* src/image.c (search_image_cache): Calculate the scale factor and
compare with the cached value.
(image_compute_scale): Compute the image's scale factor and optionally
store it in the image struct.
(compute_image_size): Move scale calculation code into
image_compute_scale and use it.
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions