diff options
-rw-r--r-- | st.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3786,6 +3786,8 @@ run(void) { | |||
3786 | /* Waiting for window mapping */ | 3786 | /* Waiting for window mapping */ |
3787 | while(1) { | 3787 | while(1) { |
3788 | XNextEvent(xw.dpy, &ev); | 3788 | XNextEvent(xw.dpy, &ev); |
3789 | if(XFilterEvent(&ev, None)) | ||
3790 | continue; | ||
3789 | if(ev.type == ConfigureNotify) { | 3791 | if(ev.type == ConfigureNotify) { |
3790 | w = ev.xconfigure.width; | 3792 | w = ev.xconfigure.width; |
3791 | h = ev.xconfigure.height; | 3793 | h = ev.xconfigure.height; |