about summary refs log tree commit diff stats
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 71ef677..49229a7 100644
--- a/client.c
+++ b/client.c
@@ -418,6 +418,7 @@ unmanage(Client *c)
 	XSetErrorHandler(xerrordummy);
 
 	detach(c);
+	detachstack(c);
 	if(sel == c) {
 		for(sel = stack; sel && !isvisible(sel); sel = sel->snext);
 		focus(sel);
@@ -426,7 +427,6 @@ unmanage(Client *c)
 	XUngrabButton(dpy, AnyButton, AnyModifier, c->win);
 	XDestroyWindow(dpy, c->twin);
 
-	detachstack(c);
 	free(c->tags);
 	free(c);
 
='/danisanti/profani-tty/commit/themes/whiteness?id=30b5f112fd81890411d6fe52c1f442f4433e0d01'>30b5f112 ^
45a26b11 ^





30b5f112 ^
45a26b11 ^


45a26b11 ^
30b5f112 ^



b21edfaa ^

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


             

                       










                         




                        

                    
                 








                            





            
               


             
               



                   

                      
[colours]
bkgnd=white
titlebar=blue
titlebar.text=white
titlebar.brackets=white
titlebar.unencrypted=red
titlebar.encrypted=white
titlebar.untrusted=yellow
titlebar.trusted=white
titlebar.online=white
titlebar.offline=red
titlebar.away=white
titlebar.chat=white
titlebar.dnd=red
titlebar.xa=white
statusbar=blue
statusbar.text=white
statusbar.brackets=white
statusbar.active=megenta
statusbar.new=red
main.text=black
main.text.me=black
main.text.them=black
main.splash=black
main.time=black
input.text=black
subscribed=green
unsubscribed=red
otr.started.trusted=green
otr.started.untrusted=yellow
otr.ended=red
otr.trusted=green
otr.untrusted=yellow
online=green
away=cyan
chat=green
dnd=red
xa=cyan
offline=red
incoming=yellow
typing=yellow
gone=red
error=red
roominfo=yellow
roommention=yellow
me=black
them=black
roster.header=black
occupants.header=black
receipt.sent=red