X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=main.c;h=9cffafe9848faf8b27cc30d3652232ff7fc2b393;hb=bced9077f963be2bce4f0c60023c3b48af54b8e9;hp=5818838f8855d1f4669303ec16dae96bafb3a981;hpb=3c35b90dd3e79e42b115f850dee077eda9816363;p=dwm.git diff --git a/main.c b/main.c index 5818838..9cffafe 100644 --- a/main.c +++ b/main.c @@ -23,7 +23,7 @@ int bh, bmw, screen, sx, sy, sw, sh, wax, way, waw, wah; unsigned int master, nmaster, ntags, numlockmask; Atom wmatom[WMLast], netatom[NetLast]; Bool running = True; -Bool issel = True; +Bool selscreen = True; Client *clients = NULL; Client *sel = NULL; Client *stack = NULL; @@ -41,7 +41,7 @@ static void cleanup(void) { close(STDIN_FILENO); while(stack) { - resize(stack, True, TopLeft); + resize(stack, True); unmanage(stack); } if(dc.font.set) @@ -156,7 +156,7 @@ setup(void) { dc.gc = XCreateGC(dpy, root, 0, 0); XSetLineAttributes(dpy, dc.gc, 1, LineSolid, CapButt, JoinMiter); /* multihead support */ - issel = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask); + selscreen = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask); } /*