there can only be one window in the event

This commit is contained in:
Markus Teich 2016-11-23 00:28:25 +01:00
parent 7a604ec1fa
commit 0ff0d9f7a7

View File

@ -209,6 +209,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
XResizeWindow(dpy, locks[screen]->win,
rre->width, rre->height);
XClearWindow(dpy, locks[screen]->win);
break;
}
}
} else for (screen = 0; screen < nscreens; screen++)