aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar noname@inventati.org <noname@inventati.org>2015-04-11 12:15:51 +0200
committerGravatar Roberto E. Vargas Caballero <k0ga@shike2.com>2015-04-13 09:17:06 +0200
commitd2937b05aed9cee8d6651cd806d31682a853c773 (patch)
tree93e6759cda13c8ddc716d471d284f6916ed003a6
parentd3e0f3444b91418e3d3cda591c5d8c50caa22957 (diff)
Remove unnecessary XFilterEvent call.
XFilterEvent usually filters KeyPress events according to input method. At this point the window is not mapped. The only events that we process are ConfigureNotify and MapNotify. They should not be filtered by input method.
-rw-r--r--st.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/st.c b/st.c
index 83acd56..c48132a 100644
--- a/st.c
+++ b/st.c
@@ -3919,8 +3919,6 @@ run(void) {
/* Waiting for window mapping */
do {
XNextEvent(xw.dpy, &ev);
- if(XFilterEvent(&ev, None))
- continue;
if(ev.type == ConfigureNotify) {
w = ev.xconfigure.width;
h = ev.xconfigure.height;