diff options
| author | Reza Jelveh <[email protected]> | 2024-04-15 13:39:41 +0800 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-15 01:39:41 -0400 | 
| commit | fb86ed6b0588dfdebfb66ce875bc63cfa0a897f6 (patch) | |
| tree | 29857a1769107adc58696f08d379f608aa4e29a2 /sway/commands/output.c | |
| parent | a5e79676c4bd22fc5902182acf0667907202a465 (diff) | |
feat: 1.9 merge (#277)
Co-authored-by: William McKinnon <[email protected]>
Co-authored-by: Erik Reider <[email protected]>
Diffstat (limited to 'sway/commands/output.c')
| -rw-r--r-- | sway/commands/output.c | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/sway/commands/output.c b/sway/commands/output.c index df32c673..462dffd2 100644 --- a/sway/commands/output.c +++ b/sway/commands/output.c @@ -111,7 +111,10 @@ struct cmd_results *cmd_output(int argc, char **argv) {  	if (!config->reloading && !config->validating) {  		apply_output_config_to_outputs(output);  		if (background) { -			spawn_swaybg(); +			if (!spawn_swaybg()) { +				return cmd_results_new(CMD_FAILURE, +					"Failed to apply background configuration"); +			}  		}  	}  | 
