jwidget: fix floating widgets not laying themselves out

This commit is contained in:
Lephenixnoir 2022-06-20 01:30:44 +01:00
parent c90b3f1fb2
commit 11868d85ee
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ static void jwidget_layout_apply(void *w0)
if(!w->visible) return;
int t = w->layout;
if(t == J_LAYOUT_NONE || w->floating) {
if(t == J_LAYOUT_NONE) {
jwidget_poly const *poly = widget_types[w->type];
if(poly->layout) poly->layout(w);
}