make all widgets non-floating at creation

This commit is contained in:
Lephenixnoir 2021-05-15 17:40:18 +02:00
parent 6676e47368
commit d36d374524
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -108,6 +108,7 @@ void jwidget_init(jwidget *w, int type, void *parent)
w->child_alloc = 0; w->child_alloc = 0;
w->dirty = 1; w->dirty = 1;
w->visible = 1; w->visible = 1;
w->floating = 0;
w->type = type; w->type = type;
w->geometry = NULL; w->geometry = NULL;