Skip to content
Commit 4bb5ff39 authored by Simon McVittie's avatar Simon McVittie Committed by Jonas Ådahl
Browse files

backends/native: Don't crash if keymap is misconfigured

xkb recently gained support for user-specified keymaps, which means we
can no longer assume that the configuration data is necessarily fully
complete or correct; and the configuration language is quite a labyrinth,
so it's easy to get wrong. If setting the keymap fails, leave it in
whatever state it previously had, since that seems preferable to crashing
with a NULL pointer dereference.

Resolves: https://gitlab.gnome.org/GNOME/mutter/-/issues/1555


Signed-off-by: default avatarSimon McVittie <smcv@debian.org>


(cherry picked from commit 60f647df)

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1609>
parent f6a13ef7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment