|
@@ -3786,6 +3786,8 @@ run(void) {
|
|
/* Waiting for window mapping */
|
|
/* Waiting for window mapping */
|
|
while(1) {
|
|
while(1) {
|
|
XNextEvent(xw.dpy, &ev);
|
|
XNextEvent(xw.dpy, &ev);
|
|
|
|
+ if(XFilterEvent(&ev, None))
|
|
|
|
+ continue;
|
|
if(ev.type == ConfigureNotify) {
|
|
if(ev.type == ConfigureNotify) {
|
|
w = ev.xconfigure.width;
|
|
w = ev.xconfigure.width;
|
|
h = ev.xconfigure.height;
|
|
h = ev.xconfigure.height;
|