diff options
| author | Yichao Yu | 2021-01-30 23:20:08 +0900 |
|---|---|---|
| committer | Yuuki Harano | 2021-01-30 23:20:08 +0900 |
| commit | 563a0d94c379292bd88e83f18560ed21c497cea9 (patch) | |
| tree | b2fb6a1f72bcad0ec80e89505ee23a4a8d41d878 /src/buffer.c | |
| parent | e9608601e5d5f45be36a8f833a98230086e628a8 (diff) | |
| download | emacs-563a0d94c379292bd88e83f18560ed21c497cea9.tar.gz emacs-563a0d94c379292bd88e83f18560ed21c497cea9.zip | |
Add support for setting cursor location using Gtk IM Context
The existing XIC implementation doesn't work when using Gtk IM Context.
Instead, `gtk_im_context_set_cursor_location` should be used
to update the cursor information for the input method.
* src/pgtkim.c (pgtk_im_set_cursor_location): New function to tell gtk
cursor location.
* src/pgtkterm.c (pgtk_draw_window_cursor): Remove invalid code and
add new code to call the function.
* src/pgtkterm.h: Add the function declaration.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions