Skip to content

Commit

Permalink
[Theme] Fixes recursion in double_inside
Browse files Browse the repository at this point in the history
fixes: #2021
  • Loading branch information
DaveDavenport committed Sep 1, 2024
1 parent 558ab34 commit 7402e45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/theme.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7402e45

Please sign in to comment.