X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=main.c;h=5e7b4a63601f78978402ba04aae566eb4e36de23;hb=15abade2720158fd35dcf59aa2cd5cbb325a849c;hp=5dab0db43cfcba4c44681fdea794748c0c04a181;hpb=e995c1b5325f88d197675950c15762d001dd80ef;p=dwm.git diff --git a/main.c b/main.c index 5dab0db..5e7b4a6 100644 --- a/main.c +++ b/main.c @@ -24,8 +24,10 @@ unsigned int ntags, numlockmask; Atom wmatom[WMLast], netatom[NetLast]; Bool running = True; Bool issel = True; +Bool maximized = False; Client *clients = NULL; Client *sel = NULL; +Client *stack = NULL; Cursor cursor[CurLast]; Display *dpy; DC dc = {0}; @@ -54,6 +56,7 @@ cleanup() XDestroyWindow(dpy, barwin); XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); XSync(dpy, False); + free(seltag); } static void