]> git.eshelyaron.com Git - emacs.git/commit
Avoid errors in posn-at-point for large images
authorEli Zaretskii <eliz@gnu.org>
Sat, 29 Oct 2016 14:39:54 +0000 (17:39 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 29 Oct 2016 14:39:54 +0000 (17:39 +0300)
commit966b73b3163416adf09bcff7418ecc9fa5a554c9
treefb8d4c66b2e0f4627e4b4b4be33b0be0d5b2edb6
parentaaa3a93e500ca189be1e8433ca2630ce2c86aa06
Avoid errors in posn-at-point for large images

* src/keyboard.c (Fposn_at_point): If pos-visible-in-window-p
returns a 6-member list for a partially visible glyph, pass the
sum of Y and RTOP to posn-at-x-y, since that's where the visible
portion of that glyph begins on display.  (Bug#24804)  (Bug#21832)
(Bug#23809)
src/keyboard.c