diff options
author | Michael Natterer <mitch@lanedo.com> | 2011-09-16 16:10:06 +0200 |
---|---|---|
committer | Michael Natterer <mitch@gimp.org> | 2011-09-26 16:01:50 +0200 |
commit | 2a8be23d1717a9b48d957a7ccfce9032b1e18a64 (patch) | |
tree | cc864182ac0d42cb33fbb662192ca154d1cd5394 /gtk/gtkimmulticontext.c | |
parent | d3df4678ca8f286e93ac6944b92b76bc79e01f90 (diff) | |
download | gtk+-2a8be23d1717a9b48d957a7ccfce9032b1e18a64.tar.gz |
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.
Diffstat (limited to 'gtk/gtkimmulticontext.c')
-rw-r--r-- | gtk/gtkimmulticontext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c index ea471a8aaf..28a218d65b 100644 --- a/gtk/gtkimmulticontext.c +++ b/gtk/gtkimmulticontext.c @@ -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; |