[Theme] Fixes recursion in double_inside

fixes: #2021
This commit is contained in:
Qball Cow 2024-09-01 09:56:03 +02:00
parent 558ab34aa3
commit 7402e451e2

View file

@ -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); rofi_theme_find_widget(widget->parent->name, widget->state, FALSE);
Property *pv = Property *pv =
rofi_theme_find_property(parent, P_DOUBLE, property, FALSE); 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; return def;
} }