mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix tab split focus bug
Fixes a bug where if you have a tab containing a split, then switch from a non-split tab to the split tab, focus is not changed properly.
This commit is contained in:
		
							parent
							
								
									b314a8f2cc
								
							
						
					
					
						commit
						9ca5cb7faf
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -649,6 +649,7 @@ void seat_set_focus_warp(struct sway_seat *seat,
 | 
				
			||||||
		while (parent) {
 | 
							while (parent) {
 | 
				
			||||||
			wl_list_remove(&parent->link);
 | 
								wl_list_remove(&parent->link);
 | 
				
			||||||
			wl_list_insert(&seat->focus_stack, &parent->link);
 | 
								wl_list_insert(&seat->focus_stack, &parent->link);
 | 
				
			||||||
 | 
								container_set_dirty(parent->container);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			parent =
 | 
								parent =
 | 
				
			||||||
				seat_container_from_container(seat,
 | 
									seat_container_from_container(seat,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue