Skip to content

Commit

Permalink
Enable input context in the file chooser text field.
Browse files Browse the repository at this point in the history
On Windows, this allows e.g. Cyrillic keyboards to work even if Cyrillic is
not currently the active codepage.

Related issues: fontforge#1729, fontforge#2290
  • Loading branch information
jtanx committed Jun 7, 2015
1 parent cbbd2fa commit 8a864c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdraw/gfilechooser.c
Expand Up @@ -1602,7 +1602,7 @@ static void GFileChooserCreateChildren(GFileChooser *gfc, int flags) {
boxes[3].creator = GHBoxCreate;
varray[l++] = &boxes[3];

gcd[k].gd.flags = gg_visible|gg_enabled;
gcd[k].gd.flags = gg_visible|gg_enabled|gg_text_xim;
gcd[k].gd.handle_controlevent = GFileChooserTextChanged;
textk = k;
if ( flags&gg_file_pulldown )
Expand Down

0 comments on commit 8a864c8

Please sign in to comment.