+2004-03-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xterm.c (handle_one_xevent): Do not pass key press events to
+ GTK.
+
2004-03-19 Richard M. Stallman <rms@gnu.org>
* s/sol2-6.h: Delete previous change.
Lisp_Object coding_system = Qlatin_1;
Lisp_Object c;
+#ifdef USE_GTK
+ /* Don't pass keys to GTK. A Tab will shift focus to the
+ tool bar in GTK 2.4. Keys will still go to menus and
+ dialogs because in that case popup_activated is TRUE
+ (see above). */
+ *finish = X_EVENT_DROP;
+#endif
+
event.xkey.state
|= x_emacs_to_x_modifiers (FRAME_X_DISPLAY_INFO (f),
extra_keyboard_modifiers);