sway
sway copied to clipboard
ipc: fix segfault when reconnecting keyboard
This fix may not be correct, as I'm not familiar enough with the sway codebase to know if keymap is allowed to be NULL here or not. But it works for me, seemingly with no adverse effects.
FWIW, I'm using a custom xkb_file
.
Duplicate of https://github.com/swaywm/sway/pull/6484, see also https://github.com/swaywm/sway/pull/6873