aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/st.c b/st.c
index 040638a..546db41 100644
--- a/st.c
+++ b/st.c
@@ -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;