JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
using a global stack for focus recovery on arrange() - seems to work great
[dwm.git] / main.c
diff --git a/main.c b/main.c
index 9856354..5e7b4a6 100644 (file)
--- a/main.c
+++ b/main.c
@@ -27,6 +27,7 @@ Bool issel = True;
 Bool maximized = False;
 Client *clients = NULL;
 Client *sel = NULL;
+Client *stack = NULL;
 Cursor cursor[CurLast];
 Display *dpy;
 DC dc = {0};
@@ -55,6 +56,7 @@ cleanup()
        XDestroyWindow(dpy, barwin);
        XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
        XSync(dpy, False);
+       free(seltag);
 }
 
 static void