comparison src/xterm.c @ 54451:66000dbe48c9

* xterm.c (handle_one_xevent): Do not pass key press events to GTK.
author Jan Djärv <jan.h.d@swipnet.se>
date Sat, 20 Mar 2004 16:11:23 +0000
parents f6e4e454800a
children 9dc8330eda34 108bb5537c12
comparison
equal deleted inserted replaced
54450:93e8bd3487a6 54451:66000dbe48c9
6214 unsigned char *copy_bufptr = copy_buffer; 6214 unsigned char *copy_bufptr = copy_buffer;
6215 int copy_bufsiz = sizeof (copy_buffer); 6215 int copy_bufsiz = sizeof (copy_buffer);
6216 int modifiers; 6216 int modifiers;
6217 Lisp_Object coding_system = Qlatin_1; 6217 Lisp_Object coding_system = Qlatin_1;
6218 Lisp_Object c; 6218 Lisp_Object c;
6219
6220 #ifdef USE_GTK
6221 /* Don't pass keys to GTK. A Tab will shift focus to the
6222 tool bar in GTK 2.4. Keys will still go to menus and
6223 dialogs because in that case popup_activated is TRUE
6224 (see above). */
6225 *finish = X_EVENT_DROP;
6226 #endif
6219 6227
6220 event.xkey.state 6228 event.xkey.state
6221 |= x_emacs_to_x_modifiers (FRAME_X_DISPLAY_INFO (f), 6229 |= x_emacs_to_x_modifiers (FRAME_X_DISPLAY_INFO (f),
6222 extra_keyboard_modifiers); 6230 extra_keyboard_modifiers);
6223 modifiers = event.xkey.state; 6231 modifiers = event.xkey.state;