From 0573c685c70ed332a14f52ed6a878402bc7ac797 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 19 Oct 2020 18:30:19 +0200 Subject: input: don’t crash if xkbcommon cannot find a compose file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index e06d6a60..8e7635e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 -- cgit v1.3