]> git.eshelyaron.com Git - emacs.git/commitdiff
(XTread_socket): Delete the code to pass menu bar keys
authorRichard M. Stallman <rms@gnu.org>
Wed, 31 Jul 1996 17:18:54 +0000 (17:18 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 31 Jul 1996 17:18:54 +0000 (17:18 +0000)
to the toolkit alone.
(XTread_socket): Don't fail to pass button events to toolkit.

src/xterm.c

index 28cd058fb22c8d74cb8a1a196334ca2557bec35c..5dfffb0ef8edb8d353ab321fc92ba55ab4b3409d 100644 (file)
@@ -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