summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/main.c b/main.c
index 543d156..07e12aa 100644
--- a/main.c
+++ b/main.c
@@ -38,9 +38,8 @@ int tsel = Tdev; /* default tag */
38int screen, sx, sy, sw, sh, th; 38int screen, sx, sy, sw, sh, th;
39 39
40DC dc = {0}; 40DC dc = {0};
41Client *cstart = NULL; 41Client *clients = NULL;
42Client *cend = NULL; 42Client *sel = NULL;
43Client *csel = NULL;
44 43
45static Bool other_wm_running; 44static Bool other_wm_running;
46static const char version[] = 45static const char version[] =
@@ -169,8 +168,10 @@ startup_error_handler(Display *dpy, XErrorEvent *error)
169static void 168static void
170cleanup() 169cleanup()
171{ 170{
172 while(csel) 171 while(sel) {
173 unmanage(csel); 172 resize(sel);
173 unmanage(sel);
174 }
174 XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); 175 XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
175} 176}
176 177