]> git.eshelyaron.com Git - emacs.git/commit
Fix generation of mouse position lists on the tool and tab bars
authorPo Lu <luangruo@yahoo.com>
Tue, 18 Mar 2025 01:41:56 +0000 (09:41 +0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 20 Mar 2025 10:51:03 +0000 (12:51 +0200)
commit1cf825c9f3c722d5d75fb8e1ec649e87a06d7086
tree61613c4694c3ae1800eb83bea66fce04261899fc
parent7bea623f2ba9bbce1e0098ec191aac3c93b48b78
Fix generation of mouse position lists on the tool and tab bars

* src/keyboard.c (make_lispy_tty_position): Return whether an
internal border was hit.
(make_lispy_position): Only skip standard window and frame
detection process if so, as there are other scenarios where POSN
is nil but WINDOW_OR_FRAME is none the less expected to be
provided by the conditionals skipped.

(cherry picked from commit 5a4b9ca7364f225eff9b134ff06a49c46179366e)
src/keyboard.c