X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/3c35b90dd3e79e42b115f850dee077eda9816363..c8a12a0852a9befbf5a073910e8b0291914f80ab:/main.c diff --git a/main.c b/main.c index 5818838..20c2890 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 activescreen = 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); + activescreen = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask); } /*