fixing the issue that new clients appear lowered
This commit is contained in:
		
							parent
							
								
									c107db57db
								
							
						
					
					
						commit
						e316cf53f6
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								client.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								client.c
									
										
									
									
									
								
							|  | @ -254,6 +254,8 @@ manage(Window w, XWindowAttributes *wa) | ||||||
| 	clients = c; | 	clients = c; | ||||||
| 
 | 
 | ||||||
| 	settitle(c); | 	settitle(c); | ||||||
|  | 	if(isvisible(c)) | ||||||
|  | 		sel = c; | ||||||
| 	arrange(NULL); | 	arrange(NULL); | ||||||
| 	XMapWindow(dpy, c->win); | 	XMapWindow(dpy, c->win); | ||||||
| 	XMapWindow(dpy, c->twin); | 	XMapWindow(dpy, c->twin); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Anselm R. Garbe
						Anselm R. Garbe