mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Check correct ws for sticky and fix floating iter
This commit is contained in:
		
							parent
							
								
									3e2bf7f3a5
								
							
						
					
					
						commit
						ad2a7c2618
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -412,6 +412,11 @@ bool workspace_switch(struct sway_container *workspace) {
 | 
				
			||||||
			has_sticky = true;
 | 
								has_sticky = true;
 | 
				
			||||||
			container_remove_child(floater);
 | 
								container_remove_child(floater);
 | 
				
			||||||
			container_add_child(workspace->sway_workspace->floating, floater);
 | 
								container_add_child(workspace->sway_workspace->floating, floater);
 | 
				
			||||||
 | 
								if (floater == focus) {
 | 
				
			||||||
 | 
									seat_set_focus(seat, NULL);
 | 
				
			||||||
 | 
									seat_set_focus(seat, floater);
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								--i;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue