[PATCH v4 2/3] winex11.drv: call X11DRV_FindXIC() in X11DRV_SetPreeditState()
Alex Kwak
take-me-home at kakao.com
Sat Apr 2 09:39:24 CDT 2022
HWND used in X11DRV_SetPreeditState() is not the HWND in which the XIC is
created, but the HWND belonging to the child. So, it doesn't work call
this function.
Therefore, call X11DRV_FindXIC() instead X11DRV_get_ic().
Signed-off-by: Alex Kwak <take-me-home at kakao.com>
---
dlls/winex11.drv/xim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winex11.drv/xim.c b/dlls/winex11.drv/xim.c
index 5dab82182d6..f7a266c813a 100644
--- a/dlls/winex11.drv/xim.c
+++ b/dlls/winex11.drv/xim.c
@@ -290,7 +290,7 @@ void X11DRV_SetPreeditState(HWND hwnd, BOOL fOpen)
XIMPreeditState state;
XVaNestedList attr;
- ic = X11DRV_get_ic(hwnd);
+ ic = X11DRV_FindXIC(hwnd);
if (!ic)
return;
--
2.32.0
More information about the wine-devel
mailing list