aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-04-29 11:11:32 +0200
committerMathieu Othacehe <othacehe@gnu.org>2021-04-29 12:12:13 +0200
commita6a36059d5c06d7177edcfd1cff45bcb9e880d24 (patch)
treee9fd7453c1d6b9c27ef4fb85d0223337d0b83992 /README
parent74b3f2cbb13f197136c0215ce6156d015080a61a (diff)
downloadguix-a6a36059d5c06d7177edcfd1cff45bcb9e880d24.tar.gz
guix-a6a36059d5c06d7177edcfd1cff45bcb9e880d24.zip
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.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions