aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-07-28 00:42:14 +0000
committerRichard M. Stallman <[email protected]>1996-07-28 00:42:14 +0000
commitf10ded1cc3e2e453fa3c5972e4d4658f6e8ac6a4 (patch)
tree7970a7f029336f0fa4f6f07ec1f9d430a4d65b7b
parentce89ef46f64cfaa4e76cfdeef68b7c546a7a7a5a (diff)
Fix previous change.
-rw-r--r--src/xterm.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 1b91915f4f..16711587b5 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -4052,8 +4052,12 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
}
else if (event.type == ButtonRelease)
{
- if (!f) f = last_mouse_press_frame;
- SET_SAVED_BUTTON_EVENT;
+ if (!f)
+ f = last_mouse_press_frame;
+ if (f)
+ {
+ SET_SAVED_BUTTON_EVENT;
+ }
}
else
goto OTHER;