summary refs log tree commit diff
path: root/HACKING
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-04-25 23:13:52 +0200
committerLudovic Courtès <ludo@gnu.org>2021-04-26 16:47:01 +0200
commit8121bfb7d6d016e063a9166ff70938fe7b98c111 (patch)
treede63782996af4a76be2d535b070c47e529e5e866 /HACKING
parent601d86183a101db07be373a5414cce7a75d800f4 (diff)
downloadguix-8121bfb7d6d016e063a9166ff70938fe7b98c111.tar.gz
gnu: kmscon: Open a new keymap-update FIFO once a request has been processed.
Fixes <https://bugs.gnu.org/39341>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.

Until now, as soon as you had selected the keyboard layout in the
Guix System installer, kmscon would start spinning on epoll_wait(2)
calls because of an event on the initial FIFO file
descriptor (corresponding to the fact that the client closed it.)

* gnu/packages/patches/kmscon-runtime-keymap-switch.patch: In
'uxkb_keymap_update_handler', add calls to 'ev_eloop_rm_fd', 'close',
and 'uxkb_dev_keymap_update'  In 'uxkb_dev_keymap_update', add call
to 'unlink'.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions