mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix moving workspace to output
This commit is contained in:
		
							parent
							
								
									0b23423c14
								
							
						
					
					
						commit
						9d168a693d
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -622,7 +622,8 @@ static void workspace_move_to_output(struct sway_workspace *workspace,
 | 
				
			||||||
	workspace_consider_destroy(new_output_old_ws);
 | 
						workspace_consider_destroy(new_output_old_ws);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	output_sort_workspaces(output);
 | 
						output_sort_workspaces(output);
 | 
				
			||||||
	seat_set_focus(seat, &output->node);
 | 
						struct sway_node *focus = seat_get_focus_inactive(seat, &workspace->node);
 | 
				
			||||||
 | 
						seat_set_focus(seat, focus);
 | 
				
			||||||
	workspace_output_raise_priority(workspace, old_output, output);
 | 
						workspace_output_raise_priority(workspace, old_output, output);
 | 
				
			||||||
	ipc_event_workspace(NULL, workspace, "move");
 | 
						ipc_event_workspace(NULL, workspace, "move");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue