]> git.eshelyaron.com Git - emacs.git/commitdiff
(XTread_socket): For button events, clear compose_status.
authorRichard M. Stallman <rms@gnu.org>
Sat, 14 May 1994 22:17:13 +0000 (22:17 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 14 May 1994 22:17:13 +0000 (22:17 +0000)
src/xterm.c

index bf5bfdc0f7203aa6f9dab470d8c8981e5ab30976..b443051d8e6c0dd78141336917731402f06e3048 100644 (file)
@@ -4151,6 +4151,8 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
            struct input_event emacs_event;
            emacs_event.kind = no_event;
 
+           bzero (&compose_status, sizeof (compose_status));
+
            f = x_window_to_frame (event.xbutton.window);
            if (f)
              {