瀏覽代碼

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.
noname@inventati.org 10 年之前
父節點
當前提交
d2937b05ae
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      st.c

+ 0 - 2
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;