imcontext: Ignore NoSymbol key events
These can happen with some XKB options. Fixes: #3973
This commit is contained in:
		| @ -85,6 +85,7 @@ G_LOCK_DEFINE_STATIC (global_tables); | |||||||
| static GSList *global_tables; | static GSList *global_tables; | ||||||
|  |  | ||||||
| static const guint16 gtk_compose_ignore[] = { | static const guint16 gtk_compose_ignore[] = { | ||||||
|  |   0, /* Yes, XKB will send us key press events with NoSymbol :( */ | ||||||
|   GDK_KEY_Shift_L, |   GDK_KEY_Shift_L, | ||||||
|   GDK_KEY_Shift_R, |   GDK_KEY_Shift_R, | ||||||
|   GDK_KEY_Control_L, |   GDK_KEY_Control_L, | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Matthias Clasen
					Matthias Clasen