From: Richard M. Stallman Date: Wed, 31 Jul 1996 17:18:54 +0000 (+0000) Subject: (XTread_socket): Delete the code to pass menu bar keys X-Git-Tag: emacs-19.34~54 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=30e671c33ffdb89b8b2450a7be95c2a5c454cdb3;p=emacs.git (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. --- 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