Introduction
Introduction Statistics Contact Development Disclaimer Help
tFix st with input method. - st - [fork] customized build of st, the simple ter…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit 84ceefe0890ee235dd736543fe30479393562fb6
parent b5d0a13c10ab6ba6121c5fa67b9f20c8d41de349
Author: Weng Xuetian <[email protected]>
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 <[email protected]>
Diffstat:
M st.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -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;
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.