mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-01 15:10:50 +00:00
fix x11 backend bug
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@380 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user