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:
committed by
Michael Natterer
parent
d3df4678ca
commit
2a8be23d17
@ -895,7 +895,7 @@ gtk_im_context_simple_filter_keypress (GtkIMContext *context,
|
||||
(priv->in_hex_sequence && !hex_keyval &&
|
||||
!is_hex_start && !is_hex_end && !is_escape && !is_backspace))
|
||||
{
|
||||
if (event->state & (GDK_MOD1_MASK | GDK_CONTROL_MASK) ||
|
||||
if (event->state & GTK_NO_TEXT_INPUT_MOD_MASK ||
|
||||
(priv->in_hex_sequence && priv->modifiers_dropped &&
|
||||
(event->keyval == GDK_KEY_Return ||
|
||||
event->keyval == GDK_KEY_ISO_Enter ||
|
||||
|
||||
Reference in New Issue
Block a user