hotfix
This commit is contained in:
		
							
								
								
									
										2
									
								
								client.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								client.c
									
									
									
									
									
								
							| @@ -418,6 +418,7 @@ unmanage(Client *c) | |||||||
| 	XSetErrorHandler(xerrordummy); | 	XSetErrorHandler(xerrordummy); | ||||||
|  |  | ||||||
| 	detach(c); | 	detach(c); | ||||||
|  | 	detachstack(c); | ||||||
| 	if(sel == c) { | 	if(sel == c) { | ||||||
| 		for(sel = stack; sel && !isvisible(sel); sel = sel->snext); | 		for(sel = stack; sel && !isvisible(sel); sel = sel->snext); | ||||||
| 		focus(sel); | 		focus(sel); | ||||||
| @@ -426,7 +427,6 @@ unmanage(Client *c) | |||||||
| 	XUngrabButton(dpy, AnyButton, AnyModifier, c->win); | 	XUngrabButton(dpy, AnyButton, AnyModifier, c->win); | ||||||
| 	XDestroyWindow(dpy, c->twin); | 	XDestroyWindow(dpy, c->twin); | ||||||
|  |  | ||||||
| 	detachstack(c); |  | ||||||
| 	free(c->tags); | 	free(c->tags); | ||||||
| 	free(c); | 	free(c); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user