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 Jul 30, 2017
1 parent 6a278f8 commit 1072c53
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 1072c53

Please sign in to comment.