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 Oct 1, 2016
1 parent 0c8a202 commit 1ea1133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdraw/gfilechooser.c
Expand Up @@ -1612,7 +1612,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 1ea1133

Please sign in to comment.