|
|
@ -186,6 +186,7 @@ void add_view(wlc_handle view_handle) {
|
|
|
|
view->handle = view_handle;
|
|
|
|
view->handle = view_handle;
|
|
|
|
view->parent = parent;
|
|
|
|
view->parent = parent;
|
|
|
|
view->type = C_VIEW;
|
|
|
|
view->type = C_VIEW;
|
|
|
|
|
|
|
|
view->visible = true;
|
|
|
|
if (title) {
|
|
|
|
if (title) {
|
|
|
|
view->name = malloc(strlen(title) + 1);
|
|
|
|
view->name = malloc(strlen(title) + 1);
|
|
|
|
strcpy(view->name, title);
|
|
|
|
strcpy(view->name, title);
|
|
|
|