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
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 1 additions and 0 deletions

View File

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