cleanup()
{
while(sel) {
- resize(sel, True);
+ resize(sel, True, TopLeft);
unmanage(sel);
}
XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa);
strcpy(stext, "dwm-"VERSION);
+
scan();
/* main event loop, reads status text from stdin as well */