about summary refs log tree commit diff stats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-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 */
 int screen, sx, sy, sw, sh, th;
 
 DC dc = {0};
-Client *cstart = NULL;
-Client *cend = NULL;
-Client *csel = NULL;
+Client *clients = NULL;
+Client *sel = NULL;
 
 static Bool other_wm_running;
 static const char version[] =
@@ -169,8 +168,10 @@ startup_error_handler(Display *dpy, XErrorEvent *error)
 static void
 cleanup()
 {
-	while(csel)
-		unmanage(csel);
+	while(sel) {
+		resize(sel);
+		unmanage(sel);
+	}
 	XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
 }
 
.cc?h=hlt&id=b89b822439f47a490a1b764e14a1ed1b73059cba'>^
01ce563d ^

dd660682 ^



92a3d082 ^
dd660682 ^









01ce563d ^


92a3d082 ^


01ce563d ^



92a3d082 ^
01ce563d ^









1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63