mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Don't call swaynag_log for bg when not reading
This commit is contained in:
		
							parent
							
								
									78c0f013dd
								
							
						
					
					
						commit
						b6f4623551
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -110,7 +110,7 @@ struct cmd_results *output_cmd_background(int argc, char **argv) {
 | 
				
			||||||
		if (!can_access) {
 | 
							if (!can_access) {
 | 
				
			||||||
			wlr_log(WLR_ERROR, "Unable to access background file '%s': %s",
 | 
								wlr_log(WLR_ERROR, "Unable to access background file '%s': %s",
 | 
				
			||||||
					src, strerror(errno));
 | 
										src, strerror(errno));
 | 
				
			||||||
			if (!config->validating) {
 | 
								if (config->reading && !config->validating) {
 | 
				
			||||||
				swaynag_log(config->swaynag_command,
 | 
									swaynag_log(config->swaynag_command,
 | 
				
			||||||
						&config->swaynag_config_errors,
 | 
											&config->swaynag_config_errors,
 | 
				
			||||||
						"Unable to access background file '%s'", src);
 | 
											"Unable to access background file '%s'", src);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue