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
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

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);
}