mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-22 06:46:49 -04:00
input: don’t crash if xkbcommon cannot find a compose file
Handle xkb_compose_table_new_from_locale() returning NULL. When this happens, log a warning that “dead keys” will be disabled, and make sure to never de-reference the compose table pointer. Closes #170
This commit is contained in:
parent
e6737034e5
commit
0573c685c7
2 changed files with 30 additions and 8 deletions
|
|
@ -47,6 +47,12 @@
|
|||
### Deprecated
|
||||
### Removed
|
||||
### Fixed
|
||||
|
||||
* Crash when libxkbcommon cannot find a suitable libX11 _compose_
|
||||
file. Note that foot will run, but without support for dead keys.
|
||||
(https://codeberg.org/dnkl/foot/issues/170).
|
||||
|
||||
|
||||
### Security
|
||||
### Contributors
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue