diff options
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 1b91915f4fb..16711587b5c 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -4052,8 +4052,12 @@ XTread_socket (sd, bufp, numchars, waitp, expected) | |||
| 4052 | } | 4052 | } |
| 4053 | else if (event.type == ButtonRelease) | 4053 | else if (event.type == ButtonRelease) |
| 4054 | { | 4054 | { |
| 4055 | if (!f) f = last_mouse_press_frame; | 4055 | if (!f) |
| 4056 | SET_SAVED_BUTTON_EVENT; | 4056 | f = last_mouse_press_frame; |
| 4057 | if (f) | ||
| 4058 | { | ||
| 4059 | SET_SAVED_BUTTON_EVENT; | ||
| 4060 | } | ||
| 4057 | } | 4061 | } |
| 4058 | else | 4062 | else |
| 4059 | goto OTHER; | 4063 | goto OTHER; |