mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
(XTread_socket): ButtonPress clears f->mouse_moved.
This commit is contained in:
parent
f11436793c
commit
edad46f664
1 changed files with 5 additions and 0 deletions
|
|
@ -4566,6 +4566,11 @@ XTread_socket (sd, bufp, numchars, expected)
|
|||
{
|
||||
dpyinfo->grabbed |= (1 << event.xbutton.button);
|
||||
last_mouse_frame = f;
|
||||
/* Ignore any mouse motion that happened
|
||||
before this event; any subsequent mouse-movement
|
||||
Emacs events should reflect only motion after
|
||||
the ButtonPress. */
|
||||
f->mouse_moved = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue