]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix previous change.
authorRichard M. Stallman <rms@gnu.org>
Sun, 28 Jul 1996 00:42:14 +0000 (00:42 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 28 Jul 1996 00:42:14 +0000 (00:42 +0000)
src/xterm.c

index 1b91915f4fb9cbf9141c491e88def6e31d8b1eaa..16711587b5c52183ebe2c350fba8601f98e8a4ff 100644 (file)
@@ -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;