From 8c441756df67f06d97789c14fb8b7717dfc97b70 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 25 May 2021 13:17:41 -0400 Subject: [PATCH] imcontext: Ignore NoSymbol key events These can happen with some XKB options. Fixes: #3973 --- gtk/gtkimcontextsimple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c index 0338b3f187..b695d96a0d 100644 --- a/gtk/gtkimcontextsimple.c +++ b/gtk/gtkimcontextsimple.c @@ -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,