Skip to content
Snippets Groups Projects
Commit f2257585 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Actually don't call XSetICFocus() at start. :(

parent f11cafd6
Branches
Tags
No related merge requests found
Pipeline #6722 passed
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment