Make the comment for the IM XFilter more understandable.

This commit is contained in:
Christoph Lohmann 2015-07-10 14:31:40 +02:00
parent 684c72d05e
commit d032b61597

6
st.c
View file

@ -4160,9 +4160,9 @@ run(void)
do { do {
XNextEvent(xw.dpy, &ev); XNextEvent(xw.dpy, &ev);
/* /*
* XFilterEvent is required to be called after you using XOpenIM, * This XFilterEvent call is required because of XOpenIM. It
* this is not unnecessary.It does not only filter the key event, * does filter out the key event and some client message for
* but some clientmessage for input method as well. * the input method too.
*/ */
if (XFilterEvent(&ev, None)) if (XFilterEvent(&ev, None))
continue; continue;