]> git.eshelyaron.com Git - emacs.git/commit
Ignore modifier keys early when handling X key press events
authorPo Lu <luangruo@yahoo.com>
Sun, 20 Feb 2022 02:03:28 +0000 (10:03 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 20 Feb 2022 02:03:28 +0000 (10:03 +0800)
commit15910e5da34a084fe01e0fd96ecf394cb1030e25
tree088cfb285b6d2ed3f176065adee75708f9bdd6ea
parent7a699e79f6e2616dbbc3acc2024f97c90caa485c
Ignore modifier keys early when handling X key press events

* src/xterm.c (handle_one_xevent): Ignore modifier keys earlier
without going through the usual key lookup.
(x_delete_terminal): Free recorded modifier map.
(x_find_modifier_meanings): Record modifier map.

* src/xterm.h (struct x_display_info): New field `modmap'.
src/xterm.c
src/xterm.h