diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-03-05 18:56:43 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-03-05 18:56:43 +0200 |
commit | 1be3bd0ad86644e091ba655a6b8d592c395701ad (patch) | |
tree | 3775aa0a0c45279fba1157f1b3b8e2fdf09542bd /src/ChangeLog | |
parent | 61e06b6cb23a719ad77ab3924beb3a0c21e9c2e9 (diff) | |
download | emacs-1be3bd0ad86644e091ba655a6b8d592c395701ad.tar.gz |
Fix region extension when scroll bar is on the right
src/keyboard.c (make_lispy_position): When the click is on the
right-side vertical scroll bar, pass the rightmost X coordinate to
buffer_posn_from_coords, so that the returned text position
reflects the closest point to the click. Fixes region extension
when mouse moves outside the Emacs frame that has scroll bars on
the right.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r-- | src/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index cfef5c46d1a..ae827cb4416 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,12 @@ +2015-03-05 Eli Zaretskii <eliz@gnu.org> + + * keyboard.c (make_lispy_position): When the click is on the + right-side vertical scroll bar, pass the rightmost X coordinate to + buffer_posn_from_coords, so that the returned text position + reflects the closest point to the click. Fixes region extension + when mouse moves outside the Emacs frame that has scroll bars on + the right. + 2015-03-04 Martin Rudalics <rudalics@gmx.at> * frame.c (x_set_font): Try to keep frame height and width |