Browse Source

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>
master
Weng Xuetian 10 years ago
committed by Roberto E. Vargas Caballero
parent
commit
84ceefe089
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      st.c

+ 2
- 0
st.c View File

@ -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;


Loading…
Cancel
Save