From caf2d110d11c18afd05e663debbc4a75f5da2a4d Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Thu, 16 Oct 2025 19:27:18 +0000 Subject: [PATCH] fix x11 backend bug git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@380 b9cfdab3-6d41-4d17-bbe4-086880011989 --- src/backend/x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/x11.c b/src/backend/x11.c index 30660bd..560c661 100644 --- a/src/backend/x11.c +++ b/src/backend/x11.c @@ -299,7 +299,7 @@ void MwLLNextEvent(MwLL handle) { XLookupString(&ev.xkey, str, 512, &sym, NULL); /* wtf is wrong with xlib? */ - if(strlen(str) == 0) { + if(strlen(str) == 0 || (str[0] < 0x20)) { char* s = XKeysymToString(sym); strcpy(str, s);