From 02c88ed14423c310d5c8e28fd9b56d8981d430d4 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Sun, 1 Jun 2025 20:47:56 +0800 Subject: [PATCH] fix: error judge for center rule --- src/config/parse_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/parse_config.h b/src/config/parse_config.h index 9d5d663..e039f6f 100644 --- a/src/config/parse_config.h +++ b/src/config/parse_config.h @@ -1101,8 +1101,8 @@ void parse_config_line(Config *config, const char *line) { rule->offsety = 0; rule->scratchpad_width = 0; rule->scratchpad_height = 0; - rule->width = -1; - rule->height = -1; + rule->width = 0; + rule->height = 0; rule->animation_type_open = NULL; rule->animation_type_close = NULL; rule->scroller_proportion = 0;