From 7402e451e265e31594833c54cd9f8f0ba69eec86 Mon Sep 17 00:00:00 2001 From: Qball Cow Date: Sun, 1 Sep 2024 09:56:03 +0200 Subject: [PATCH] [Theme] Fixes recursion in double_inside fixes: #2021 --- source/theme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/theme.c b/source/theme.c index e39531fd..00aad8cc 100644 --- a/source/theme.c +++ b/source/theme.c @@ -1029,7 +1029,8 @@ static double rofi_theme_get_double_inside(const widget *orig, Property *p, rofi_theme_find_widget(widget->parent->name, widget->state, FALSE); Property *pv = rofi_theme_find_property(parent, P_DOUBLE, property, FALSE); - return rofi_theme_get_double_inside(orig, pv, widget, property, def); + return rofi_theme_get_double_inside(orig, pv, widget->parent, property, + def); } return def; }