X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=main.c;h=de5924475b2554d265afc6ce383265b0a30d3d00;hp=6035fb6e11a338f7dbc5325878e8c7e1b180240b;hb=1f9614f82e14fa3a46e0db05346b41d6be611f88;hpb=849e631510ed6533ac930449804e477fe67a43c2 diff --git a/main.c b/main.c index 6035fb6..de59244 100644 --- a/main.c +++ b/main.c @@ -24,7 +24,7 @@ static void cleanup() { while(sel) { - resize(sel, True); + resize(sel, True, TopLeft); unmanage(sel); } XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); @@ -261,6 +261,7 @@ main(int argc, char *argv[]) XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa); strcpy(stext, "dwm-"VERSION); + scan(); /* main event loop, reads status text from stdin as well */