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 Nov 7, 2020
1 parent 9943d24 commit c5a57f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdraw/gfilechooser.c
Expand Up @@ -1669,7 +1669,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 c5a57f3

Please sign in to comment.