aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index 070b1085..9e758c90 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -1074,7 +1074,7 @@ void apply_output_config(struct output_config *oc, swayc_t *output) {
sway_log(L_DEBUG, "Setting background for output %d to %s", output_i, oc->background);
- size_t bufsize = 4;
+ size_t bufsize = 12;
char output_id[bufsize];
snprintf(output_id, bufsize, "%d", output_i);
output_id[bufsize-1] = 0;