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




commit 073c40c7382dbe4fe5da7a2485aa0d2b2f146531
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 d65dbdb3de..93db96b124 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]