dont print warnings when reading keys which dont generate text
This commit is contained in:
parent
096dad0c6c
commit
35ce211ec3
1 changed files with 3 additions and 0 deletions
|
@ -331,6 +331,9 @@ gunichar obt_keyboard_keypress_to_unichar(ObtIC *ic, XEvent *ev)
|
|||
got_string = TRUE;
|
||||
}
|
||||
}
|
||||
else if (status == XLookupKeySym)
|
||||
/* this key doesn't have a text representation, it is a command
|
||||
key of some sort */;
|
||||
else
|
||||
g_message("Bad keycode lookup. Keysym 0x%x Status: %s\n",
|
||||
(guint) sym,
|
||||
|
|
Loading…
Reference in a new issue