[gtk/imcontext-ignore-more-keysyms] imcontext: Ignore more keysyms




commit 8981ba4bd2fd66abc5a8bf1f66e329116ec0fd36
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jun 4 19:01:57 2021 -0400

    imcontext: Ignore more keysyms
    
    It finally dawned on my that #3673 is just another
    case of unexpected keysyms getting sent our way via
    fringe XKB features.
    
    Ignore them all!

 gtk/gtkimcontextsimple.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c
index b695d96a0d..2ff3fe03b9 100644
--- a/gtk/gtkimcontextsimple.c
+++ b/gtk/gtkimcontextsimple.c
@@ -91,6 +91,8 @@ static GSList *global_tables;
 
 static const guint16 gtk_compose_ignore[] = {
   0, /* Yes, XKB will send us key press events with NoSymbol :( */
+  GDK_KEY_Overlay1_Enable,
+  GDK_KEY_Overlay2_Enable,
   GDK_KEY_Shift_L,
   GDK_KEY_Shift_R,
   GDK_KEY_Control_L,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]