diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-08-08 17:04:12 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-08-08 17:04:12 -0400 |
commit | b6f4623551b76642f0f51679bc44e9e489c3d904 (patch) | |
tree | 72776a698d0e2de1976e299eba73a66b7ad081b7 /sway/commands/output | |
parent | 78c0f013dd600f2877e93508ff4897daf0dc25a0 (diff) |
Don't call swaynag_log for bg when not reading
Diffstat (limited to 'sway/commands/output')
-rw-r--r-- | sway/commands/output/background.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/output/background.c b/sway/commands/output/background.c index e45b571e..74894812 100644 --- a/sway/commands/output/background.c +++ b/sway/commands/output/background.c @@ -110,7 +110,7 @@ struct cmd_results *output_cmd_background(int argc, char **argv) { if (!can_access) { wlr_log(WLR_ERROR, "Unable to access background file '%s': %s", src, strerror(errno)); - if (!config->validating) { + if (config->reading && !config->validating) { swaynag_log(config->swaynag_command, &config->swaynag_config_errors, "Unable to access background file '%s'", src); |