mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #2923 from RyanDwyer/fix-move-to-fullscreen-crash
Fix crash when moving a container to a fullscreen workspace
This commit is contained in:
		
						commit
						ef532154c3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -108,7 +108,7 @@ static void workspace_focus_fullscreen(struct sway_workspace *workspace) {
 | 
				
			||||||
		if (focus_ws == workspace) {
 | 
							if (focus_ws == workspace) {
 | 
				
			||||||
			struct sway_node *new_focus =
 | 
								struct sway_node *new_focus =
 | 
				
			||||||
				seat_get_focus_inactive(seat, &workspace->fullscreen->node);
 | 
									seat_get_focus_inactive(seat, &workspace->fullscreen->node);
 | 
				
			||||||
			seat_set_focus(seat, new_focus);
 | 
								seat_set_raw_focus(seat, new_focus);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue