diff options
| author | Karl Heuer | 1998-11-05 19:17:42 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-11-05 19:17:42 +0000 |
| commit | edad46f664ebbb8df50765a3503f7a985bec45ae (patch) | |
| tree | 087cfe04dafcbc7a503a472855d94bce2f2195d9 /src | |
| parent | f11436793ceadaa3428eea0281fd1689802065b8 (diff) | |
| download | emacs-edad46f664ebbb8df50765a3503f7a985bec45ae.tar.gz emacs-edad46f664ebbb8df50765a3503f7a985bec45ae.zip | |
(XTread_socket): ButtonPress clears f->mouse_moved.
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 | { |