mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	rename workspace_get_initial_output
This commit is contained in:
		
							parent
							
								
									9b567fc37e
								
							
						
					
					
						commit
						a514fee1b9
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -362,7 +362,7 @@ struct sway_container *container_output_create(
 | 
				
			||||||
	return output;
 | 
						return output;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static struct sway_container *workspace_get_initial_output(const char *name) {
 | 
					static struct sway_container *get_workspace_initial_output(const char *name) {
 | 
				
			||||||
	struct sway_container *parent;
 | 
						struct sway_container *parent;
 | 
				
			||||||
	// Search for workspace<->output pair
 | 
						// Search for workspace<->output pair
 | 
				
			||||||
	int i, e = config->workspace_outputs->length;
 | 
						int i, e = config->workspace_outputs->length;
 | 
				
			||||||
| 
						 | 
					@ -392,7 +392,7 @@ static struct sway_container *workspace_get_initial_output(const char *name) {
 | 
				
			||||||
struct sway_container *container_workspace_create(struct sway_container *output,
 | 
					struct sway_container *container_workspace_create(struct sway_container *output,
 | 
				
			||||||
		const char *name) {
 | 
							const char *name) {
 | 
				
			||||||
	if (output == NULL) {
 | 
						if (output == NULL) {
 | 
				
			||||||
		output = workspace_get_initial_output(name);
 | 
							output = get_workspace_initial_output(name);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	wlr_log(L_DEBUG, "Added workspace %s for output %s", name, output->name);
 | 
						wlr_log(L_DEBUG, "Added workspace %s for output %s", name, output->name);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue