mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix floating view moving to 0,0 when splitting
This commit is contained in:
		
							parent
							
								
									7263e39f64
								
							
						
					
					
						commit
						c0da364865
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -1148,6 +1148,8 @@ struct sway_container *container_split(struct sway_container *child,
 | 
				
			||||||
	struct sway_container *cont = container_create(NULL);
 | 
						struct sway_container *cont = container_create(NULL);
 | 
				
			||||||
	cont->width = child->width;
 | 
						cont->width = child->width;
 | 
				
			||||||
	cont->height = child->height;
 | 
						cont->height = child->height;
 | 
				
			||||||
 | 
						cont->x = child->x;
 | 
				
			||||||
 | 
						cont->y = child->y;
 | 
				
			||||||
	cont->current_gaps = child->current_gaps;
 | 
						cont->current_gaps = child->current_gaps;
 | 
				
			||||||
	cont->layout = layout;
 | 
						cont->layout = layout;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue