all repos — st @ 84ceefe0890ee235dd736543fe30479393562fb6

st (suckless terminal) config

Fix st with input method.

XFilterEvent need to be called against every event, otherwise it would
missing some message in the xim protocol and misbehave on some im server.

Signed-off-by: Roberto E. Vargas Caballero <k0ga@shike2.com>
Weng Xuetian wengxt@gmail.com
commit

84ceefe0890ee235dd736543fe30479393562fb6

parent

b5d0a13c10ab6ba6121c5fa67b9f20c8d41de349

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M st.cst.c

@@ -3786,6 +3786,8 @@

/* Waiting for window mapping */ while(1) { XNextEvent(xw.dpy, &ev); + if(XFilterEvent(&ev, None)) + continue; if(ev.type == ConfigureNotify) { w = ev.xconfigure.width; h = ev.xconfigure.height;