guix-play/gnu
Mathieu Othacehe a6a36059d5
gnu: kmscon: Fix layout setup.
Kmscon may discover multiple inputs, corresponding to multiple devices. This
means that the uxkb_dev_keymap_update function may be called multiple times,
and the FIFO is registered on each input poll loop.

When a new layout is written on the FIFO by the installer, the first input
picking up the message, will apply the new layout. However, that input may not
be the input that the user is currently using.

To fix it, register the FIFO on the first input poll loop, but apply the new
layout on all the inputs in the uxkb_keymap_update_handler function.

* gnu/packages/patches/kmscon-runtime-keymap-switch.patch
(uxkb_keymap_update_handler): Apply the new layout to all the inputs.
(input_new_dev): Register the FIFO fd only on the first input poll loop.
2021-04-29 12:12:13 +02:00
..
bootloader bootloader: grub: Fix typo in docstring. 2021-04-10 14:11:33 +02:00
build file-systems: read-partition-{uuid,label} don't swallow ENOENT & co. 2021-04-23 00:32:30 +02:00
installer tests: Add gui-uefi-installed-os test. 2021-04-28 15:51:12 +02:00
machine machine: ssh: Use 'formatted-message'. 2021-02-25 11:29:35 +01:00
packages gnu: kmscon: Fix layout setup. 2021-04-29 12:12:13 +02:00
services services: mysql: Add extra-environment as configuration option. 2021-04-27 20:45:35 +02:00
system system: vm: Add a memory-size argument to system-docker-image. 2021-04-12 14:12:49 +02:00
tests tests: Add gui-uefi-installed-os test. 2021-04-28 15:51:12 +02:00
artwork.scm
bootloader.scm
ci.scm ci: Add custom subset. 2021-04-28 11:53:33 +02:00
image.scm image: Export image? procedure. 2021-02-17 10:55:36 +01:00
installer.scm
local.mk gnu: linux-libre-arm64-generic: Add eDP panel, battery and audio 2021-04-28 16:56:35 -07:00
machine.scm
packages.scm
services.scm services: Support DELETE in MODIFY-SERVICES macro. 2021-04-12 17:49:07 +02:00
system.scm
tests.scm tests: Support package extensions in the backdoor REPL. 2021-04-12 18:42:22 +02:00