sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 425ee270b423eb961e5e11162b37b1fb187f50ed
parent 78c0f013dd600f2877e93508ff4897daf0dc25a0
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed,  8 Aug 2018 17:21:22 -0400

Merge pull request #2440 from RedSoxFan/bg-swaynag-reading-only

Don't call swaynag_log for bg when not reading
Diffstat:
Msway/commands/output/background.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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);