pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5d0a13
)
Fix st with input method.
author
Weng Xuetian
<wengxt@gmail.com>
Wed, 16 Jul 2014 22:36:46 +0000
(18:36 -0400)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Sat, 19 Jul 2014 17:46:31 +0000
(19:46 +0200)
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>
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
040638a
..
546db41
100644
(file)
--- 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;