(XTread_socket): Pass keys in menu bar to toolkit alone
authorRichard M. Stallman <rms@gnu.org>
Tue, 30 Jul 1996 21:10:40 +0000 (21:10 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 30 Jul 1996 21:10:40 +0000 (21:10 +0000)
commit2237cac94952a62eeae0438c23ea1986fb4a7663
tree2da42eb57f7e5453981c649e142e3f0eb14d2081
parent95c0d3a7dd4238b8bb68fade83006eda950b8da3
(XTread_socket): Pass keys in menu bar to toolkit alone
only for Motif.

(XTread_socket): Fixing previous change:
Clear last_mouse_press_frame on non-menu-bar ButtonPress.
Always use last_mouse_press_frame as frame for ButtonRelease.
But ignore the event if frame's output_data.x is null.
Save the ButtonRelease only if USE_MOTIF.
(last_mouse_press_frame): This is now a Lisp object.
(syms_of_xterm): Initialize and staticpro it.
src/xterm.c