gtk: fix entering of Option-foo symbols on the Mac
define GTK_NO_TEXT_INPUT_MOD_MASK in gtkprivate.h and use it in the IM contexts, so Option-foo is no longer filtered away.
This commit is contained in:
		 Michael Natterer
					Michael Natterer
				
			
				
					committed by
					
						 Michael Natterer
						Michael Natterer
					
				
			
			
				
	
			
			
			 Michael Natterer
						Michael Natterer
					
				
			
						parent
						
							d3df4678ca
						
					
				
				
					commit
					2a8be23d17
				
			| @ -350,7 +350,7 @@ gtk_im_multicontext_filter_keypress (GtkIMContext *context, | ||||
|   if (slave) | ||||
|     return gtk_im_context_filter_keypress (slave, event); | ||||
|   else if (event->type == GDK_KEY_PRESS && | ||||
|            (event->state & (GDK_MOD1_MASK | GDK_CONTROL_MASK)) == 0) | ||||
|            (event->state & GTK_NO_TEXT_INPUT_MOD_MASK) == 0) | ||||
|     { | ||||
|       gunichar ch; | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user