From f2257585720b4972280f48dac8870547c93210ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Sun, 29 Sep 2024 17:39:28 -0400 Subject: [PATCH] Actually don't call XSetICFocus() at start. :( --- src/conio/x_events.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/conio/x_events.c b/src/conio/x_events.c index bbf33d2c3c..40720e1279 100644 --- a/src/conio/x_events.c +++ b/src/conio/x_events.c @@ -1054,11 +1054,8 @@ static int init_window() set_win_property(ATOM__NET_WM_STATE, XA_ATOM, 32, PropModeReplace, &a, 1); im = x11.XOpenIM(dpy, NULL, classhints ? classhints->res_name : "CIOLIB", classhints ? classhints->res_class : "CIOLIB"); - if (im != NULL) { + if (im != NULL) ic = x11.XCreateIC(im, XNClientWindow, win, XNInputStyle, XIMPreeditNothing | XIMStatusNothing, NULL); - if (ic) - x11.XSetICFocus(ic); - } if (classhints) x11.XFree(classhints); -- GitLab