guix-play/gnu
Mathieu Othacehe 68110f7288
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:06:07 +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 23:39:34 -04:00
installer installer: Add MSDOS disk label support on UEFI systems. 2021-04-28 15:52:20 +02:00
machine
packages gnu: kmscon: Fix layout setup. 2021-04-29 12:06:07 +02:00
services services: cuirass: Use "/tmp" database host. 2021-04-14 16:09: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: ldap: Fix it. 2021-04-18 10:31:59 +02:00
artwork.scm
bootloader.scm
ci.scm ci: tarball: Use "current-guix" as profile name. 2021-04-18 10:45:53 +02:00
image.scm
installer.scm
local.mk gnu: racket: Don't inject store paths into Racket files. 2021-04-12 18:42:22 +02: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