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: #1729, #2290
  • Loading branch information
jtanx committed Mar 16, 2019
1 parent fc5ea99 commit 5a3235e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdraw/gfilechooser.c
Expand Up @@ -1615,7 +1615,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 5a3235e

Please sign in to comment.