Fix bug #18839 with incorrect image size returned by posn-at-point.
commit475e766a94eddad2419474aa9c4c38ff278af2f7
authorEli Zaretskii <eliz@gnu.org>
Sun, 26 Oct 2014 15:42:08 +0000 (26 17:42 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 26 Oct 2014 15:42:08 +0000 (26 17:42 +0200)
tree3c41e8a6235f690ed1d6762882cb56217da339b5
parent73fd041d910f737746b952f2845fbf419f6ab0d3
Fix bug #18839 with incorrect image size returned by posn-at-point.

 src/dispnew.c (buffer_posn_from_coords): Use
 WINDOW_WANTS_HEADER_LINE_P, not WINDOW_WANTS_MODELINE_P, to
 account for the header-line height.
src/ChangeLog
src/dispnew.c