[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6cea4d1fdb: Set IC preedit area on ConfigureNotify
From: |
Po Lu |
Subject: |
master 6cea4d1fdb: Set IC preedit area on ConfigureNotify |
Date: |
Sun, 23 Jan 2022 19:47:16 -0500 (EST) |
branch: master
commit 6cea4d1fdbdcfd6810bfea70ba58d7a45f2d2384
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Set IC preedit area on ConfigureNotify
* src/xterm.c (handle_one_xevent): Set the preedit spot when a
ConfigureNotify event is received.
---
src/xterm.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/xterm.c b/src/xterm.c
index 2a4ea883bc..bf606b1aa4 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -9964,6 +9964,12 @@ handle_one_xevent (struct x_display_info *dpyinfo,
#ifdef HAVE_X_I18N
if (FRAME_XIC (f) && (FRAME_XIC_STYLE (f) & XIMStatusArea))
xic_set_statusarea (f);
+
+ if (f)
+ {
+ struct window *w = XWINDOW (f->selected_window);
+ xic_set_preeditarea (w, w->cursor.x, w->cursor.y);
+ }
#endif
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 6cea4d1fdb: Set IC preedit area on ConfigureNotify,
Po Lu <=