> XFilterEvent usually filters KeyPress events that are hooked by input
> method, but at this point the window is not mapped so it is impossible
> to press keys in the terminal.
>
> Calling XFilterEvent would only be useful if input methods filtered
> ConfigureNotify or MapNotify events. I don't t
On Fri, Apr 10, 2015 at 05:41:16PM +0200, Roberto E. Vargas Caballero wrote:
> > - if(XFilterEvent(&ev, None))
> > - continue;
>
> Why are you removing the call to XFilterEvent here?
XFilterEvent usually filters KeyPress events that are hooked by input
method, but at t
---
st.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/st.c b/st.c
index a7064b1..c311164 100644
--- a/st.c
+++ b/st.c
@@ -3917,17 +3917,13 @@ run(void) {
long deltatime;
/* Waiting for window mapping */
- while(1) {
+ do {