diff options
author | Karl Heuer <[email protected]> | 1998-11-05 19:17:42 +0000 |
---|---|---|
committer | Karl Heuer <[email protected]> | 1998-11-05 19:17:42 +0000 |
commit | edad46f664ebbb8df50765a3503f7a985bec45ae (patch) | |
tree | 087cfe04dafcbc7a503a472855d94bce2f2195d9 | |
parent | f11436793ceadaa3428eea0281fd1689802065b8 (diff) |
(XTread_socket): ButtonPress clears f->mouse_moved.
-rw-r--r-- | src/xterm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index e04b04ea65..8145689d41 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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 { |