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 aeda5b2f58
commit 8c441756df

View File

@ -90,6 +90,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,