mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-25 08:25:47 +01:00
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.
This commit is contained in:
parent
d3e0f3444b
commit
d2937b05ae
1 changed files with 0 additions and 2 deletions
2
st.c
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;
|
||||
|
|
Loading…
Reference in a new issue