summaryrefslogtreecommitdiff
path: root/etc
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:06:07 +0200
commit68110f72880a5b57fad34a7868f1f0722d52842a (patch)
treecbc9aa243e69dcaab734465d10897aff587bd617 /etc
parentc254af8c73ca0aa6e2179112cdd1ea70800fa5ea (diff)
downloadguix-patches-68110f72880a5b57fad34a7868f1f0722d52842a.tar
guix-patches-68110f72880a5b57fad34a7868f1f0722d52842a.tar.gz
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 'etc')
0 files changed, 0 insertions, 0 deletions