sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 17ff13fc84fd74ddcee68a302af156d7bf81ed85
parent b5a35c484f651e25b226c9661669c8a40439f09b
Author: wb9688 <wb9688@users.noreply.github.com>
Date:   Tue, 31 Dec 2019 18:31:45 +0100

Replace unprintable characters in input device id

Diffstat:
Msway/input/input-manager.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sway/input/input-manager.c b/sway/input/input-manager.c @@ -70,7 +70,8 @@ char *input_device_get_identifier(struct wlr_input_device *device) { char *p = name; for (; *p; ++p) { - if (*p == ' ') { + // There are in fact input devices with unprintable characters in its name + if (*p == ' ' || !isprint(*p)) { *p = '_'; } }