diff options
Diffstat (limited to 'lisp/term/pgtk-win.el')
-rw-r--r-- | lisp/term/pgtk-win.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/term/pgtk-win.el b/lisp/term/pgtk-win.el index 4598ba007b6..a41d3a3951f 100644 --- a/lisp/term/pgtk-win.el +++ b/lisp/term/pgtk-win.el @@ -398,6 +398,14 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.") (overlay-put ov 'before-string ovstr) (setq pgtk-preedit-overlay ov))) + +(add-hook 'after-init-hook + (function + (lambda () + (when (eq window-system 'pgtk) + (pgtk-use-im-context pgtk-use-im-context-on-new-connection))))) + + (provide 'pgtk-win) (provide 'term/pgtk-win) |