Commit e8a84b6c authored by Jan Djärv's avatar Jan Djärv
Browse files

* xterm.c (handle_one_xevent): Do not pass key press events to

  GTK.
parent e4aaf69c
2004-03-20 Jan Dj,Ad(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.
......
......@@ -6217,6 +6217,14 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment