diff options
Diffstat (limited to 'src')
| -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 e04b04ea651..8145689d416 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -4566,6 +4566,11 @@ XTread_socket (sd, bufp, numchars, expected) | |||
| 4566 | { | 4566 | { |
| 4567 | dpyinfo->grabbed |= (1 << event.xbutton.button); | 4567 | dpyinfo->grabbed |= (1 << event.xbutton.button); |
| 4568 | last_mouse_frame = f; | 4568 | last_mouse_frame = f; |
| 4569 | /* Ignore any mouse motion that happened | ||
| 4570 | before this event; any subsequent mouse-movement | ||
| 4571 | Emacs events should reflect only motion after | ||
| 4572 | the ButtonPress. */ | ||
| 4573 | f->mouse_moved = 0; | ||
| 4569 | } | 4574 | } |
| 4570 | else | 4575 | else |
| 4571 | { | 4576 | { |