st

simple terminal

git clone https://9o.is/git/st.git

commit 4ef5b3a647244b442d9b7d149f6700c0764e3aff
parent 7e096761848d57153ea2c774ecb1b2b41c3edd75
Author: Weng Xuetian <wengxt@gmail.com>
Date:   Wed, 16 Jul 2014 18:36:46 -0400

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>

Diffstat:
Mst.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/st.c b/st.c @@ -3786,6 +3786,8 @@ run(void) { /* 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;