summaryrefslogtreecommitdiff
path: root/xlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlib.c')
-rw-r--r--xlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlib.c b/xlib.c
index 66e70c7..3d0d2dc 100644
--- a/xlib.c
+++ b/xlib.c
@@ -112,9 +112,9 @@ int uudisp_open(struct uudisp *d)
XMapWindow(p->display, p->window);
- XSetLocaleModifiers("@im=none");
+ //XSetLocaleModifiers("@im=none");
p->im = XOpenIM(p->display, 0, 0, 0);
- if (p->im) p->ic = XCreateIC(p->im, XNInputStyle, XIMPreeditNothing|XIMStatusNothing);
+ if (p->im) p->ic = XCreateIC(p->im, XNInputStyle, XIMPreeditNothing|XIMStatusNothing, NULL);
resize_window(d, px_w, px_h);