aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 81baeddbcaa..36e0045d2ed 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -9276,7 +9276,8 @@ handle_one_xevent (struct x_display_info *dpyinfo,
9276 int modifiers; 9276 int modifiers;
9277 Lisp_Object coding_system = Qlatin_1; 9277 Lisp_Object coding_system = Qlatin_1;
9278 Lisp_Object c; 9278 Lisp_Object c;
9279 /* Event will be modified. */ 9279 /* `xkey' will be modified, but it's not important to modify
9280 `event' itself. */
9280 XKeyEvent xkey = event->xkey; 9281 XKeyEvent xkey = event->xkey;
9281 9282
9282#ifdef USE_GTK 9283#ifdef USE_GTK
@@ -9538,8 +9539,6 @@ handle_one_xevent (struct x_display_info *dpyinfo,
9538 if (keysym == NoSymbol) 9539 if (keysym == NoSymbol)
9539 break; 9540 break;
9540 } 9541 }
9541 /* FIXME: check side effects and remove this. */
9542 ((XEvent *) event)->xkey = xkey;
9543 } 9542 }
9544 done_keysym: 9543 done_keysym:
9545#ifdef HAVE_X_I18N 9544#ifdef HAVE_X_I18N