diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-08-08 17:21:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-08 17:21:22 -0400 |
commit | 425ee270b423eb961e5e11162b37b1fb187f50ed (patch) | |
tree | 72776a698d0e2de1976e299eba73a66b7ad081b7 /sway | |
parent | 78c0f013dd600f2877e93508ff4897daf0dc25a0 (diff) | |
parent | b6f4623551b76642f0f51679bc44e9e489c3d904 (diff) |
Merge pull request #2440 from RedSoxFan/bg-swaynag-reading-only
Don't call swaynag_log for bg when not reading
Diffstat (limited to 'sway')
-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); |