]> git.ipfire.org Git - thirdparty/systemd.git/commit - hwdb.d/60-keyboard.hwdb
hwdb: drop quotes from XKB_FIXED_*= properties
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 15 Oct 2020 16:01:20 +0000 (18:01 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 Oct 2020 06:37:07 +0000 (08:37 +0200)
commita136c2cdd84c93c2fa5e1cedb20f5acac80df5be
tree41ac02f976d95fc2c40a2f6fe5db1d913b074f42
parent32a4aec4fa8766f0495b1aad0fa03492071b6e01
hwdb: drop quotes from XKB_FIXED_*= properties

The properties are not unquoted by udev, so the quotes effectively became part
of the value.

Even though those properties were added quite a while ago
(086c001e29a86287d7b639cb71d1fc6408920c53,
d7d31692bf7cde5dce7f4ed3cae429a5b302a9f0), they never started being used
(because of issues with having multiple layouts), see
https://gitlab.gnome.org/GNOME/mutter/-/issues/906,
https://bugzilla.gnome.org/show_bug.cgi?id=775681.

Let's remove the quotes while we still can.

From https://bugzilla.gnome.org/show_bug.cgi?id=775681#c7:
> Note to self: the values for XKB_FIXED_LAYOUT and XKB_FIXED_VARIANT are
> quoted, meaning that we need to remove the quotes before passing the values
> from udev_device_get_property_value() to xkb_keymap_new_from_names()
> otherwise the compilation of the keymap fails (please don't ask how I found
> out...)
hwdb.d/60-keyboard.hwdb
hwdb.d/parse_hwdb.py