summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cursor-sensor.el
diff options
context:
space:
mode:
authorAlan Third <alan@idiocy.org>2024-12-27 11:46:45 +0000
committerAlan Third <alan@idiocy.org>2024-12-28 12:36:58 +0000
commit691c161a81221905f7e2690ee747ba9163b1b645 (patch)
treeb0388ea615aba5f716d1a2ee9eff2b2d4358b836 /lisp/emacs-lisp/cursor-sensor.el
parent63cc335a524ab5b6fb8e9bc93041382baf1321db (diff)
downloademacs-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