From 30e671c33ffdb89b8b2450a7be95c2a5c454cdb3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 31 Jul 1996 17:18:54 +0000 Subject: [PATCH] (XTread_socket): Delete the code to pass menu bar keys to the toolkit alone. (XTread_socket): Don't fail to pass button events to toolkit. --- src/xterm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index 28cd058fb22..5dfffb0ef8e 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -4059,6 +4059,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected) else if (event.type == ButtonPress) { last_mouse_press_frame = Qnil; + goto OTHER; } #ifdef USE_MOTIF /* This should do not harm for Lucid, but I am trying to be cautious. */ @@ -4072,6 +4073,8 @@ XTread_socket (sd, bufp, numchars, waitp, expected) SET_SAVED_BUTTON_EVENT; } } + else + goto OTHER; } #endif /* USE_MOTIF */ else -- 2.39.5