diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 2a4ea883bc1..bf606b1aa42 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -9964,6 +9964,12 @@ handle_one_xevent (struct x_display_info *dpyinfo, | |||
| 9964 | #ifdef HAVE_X_I18N | 9964 | #ifdef HAVE_X_I18N |
| 9965 | if (FRAME_XIC (f) && (FRAME_XIC_STYLE (f) & XIMStatusArea)) | 9965 | if (FRAME_XIC (f) && (FRAME_XIC_STYLE (f) & XIMStatusArea)) |
| 9966 | xic_set_statusarea (f); | 9966 | xic_set_statusarea (f); |
| 9967 | |||
| 9968 | if (f) | ||
| 9969 | { | ||
| 9970 | struct window *w = XWINDOW (f->selected_window); | ||
| 9971 | xic_set_preeditarea (w, w->cursor.x, w->cursor.y); | ||
| 9972 | } | ||
| 9967 | #endif | 9973 | #endif |
| 9968 | 9974 | ||
| 9969 | } | 9975 | } |