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:
parent
1b8f877b87
commit
caf2d110d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue