imcontext: Ignore NoSymbol key events

These can happen with some XKB options.

Fixes: #3973
This commit is contained in:
Matthias Clasen 2021-05-25 13:17:41 -04:00
parent 6930749ad5
commit 6baf287c5f

View File

@ -85,6 +85,7 @@ G_LOCK_DEFINE_STATIC (global_tables);
static GSList *global_tables;
static const guint16 gtk_compose_ignore[] = {
0, /* Yes, XKB will send us key press events with NoSymbol :( */
GDK_KEY_Shift_L,
GDK_KEY_Shift_R,
GDK_KEY_Control_L,