]> git.eshelyaron.com Git - emacs.git/commit
Test for Xkb support when opening a display
authorPo Lu <luangruo@yahoo.com>
Wed, 29 Dec 2021 09:49:42 +0000 (17:49 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 29 Dec 2021 09:49:42 +0000 (17:49 +0800)
commit8719abe4ca5d4b6ccc0e405dc0313730c6ec7d72
treeb153daa9f5cabe634e3b9aa30127c8a70ae130a3
parent7b621c40f39c49232d96e446892ee2f553cf733d
Test for Xkb support when opening a display

* src/xfns.c (Fx_backspace_delete_keys_p): Use
dpyinfo->supports_xkb instead of testing for its presence
manually.

* src/xterm.c (x_term_init): Test for Xkb presence
and set supports_xkb appropriately.

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