aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2022-02-20 10:05:46 +0800
committerPo Lu2022-02-20 10:05:46 +0800
commitd7fc7bdd81acd37fda8c094754e3f118e11a3b2a (patch)
tree7324919341eabf5e0b26b7c4b380d2718c0ac7ee /src
parent15910e5da34a084fe01e0fd96ecf394cb1030e25 (diff)
downloademacs-d7fc7bdd81acd37fda8c094754e3f118e11a3b2a.tar.gz
emacs-d7fc7bdd81acd37fda8c094754e3f118e11a3b2a.zip
Fix typo in last change
* src/xterm.c (handle_one_xevent): Use `xi_done_keysym' label when ignoring modifier keys from XI2 input.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 4c1c4312172..01de3e27b96 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -11576,7 +11576,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
11576 XkbDescRec *rec = FRAME_DISPLAY_INFO (f)->xkb_desc; 11576 XkbDescRec *rec = FRAME_DISPLAY_INFO (f)->xkb_desc;
11577 11577
11578 if (rec->map->modmap && rec->map->modmap[xev->detail]) 11578 if (rec->map->modmap && rec->map->modmap[xev->detail])
11579 goto done_keysym; 11579 goto xi_done_keysym;
11580 } 11580 }
11581 else 11581 else
11582#endif 11582#endif
@@ -11586,7 +11586,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
11586 for (i = 0; i < 8 * dpyinfo->modmap->max_keypermod; i++) 11586 for (i = 0; i < 8 * dpyinfo->modmap->max_keypermod; i++)
11587 { 11587 {
11588 if (xkey.keycode == dpyinfo->modmap->modifiermap[xev->detail]) 11588 if (xkey.keycode == dpyinfo->modmap->modifiermap[xev->detail])
11589 goto done_keysym; 11589 goto xi_done_keysym;
11590 } 11590 }
11591 } 11591 }
11592 } 11592 }