mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-11-17 07:48:28 +01:00
Set view->visible to true when created
This commit is contained in:
parent
8f19faf6e7
commit
c10fc5b526
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ void add_view(wlc_handle view_handle) {
|
|||
view->handle = view_handle;
|
||||
view->parent = parent;
|
||||
view->type = C_VIEW;
|
||||
view->visible = true;
|
||||
if (title) {
|
||||
view->name = malloc(strlen(title) + 1);
|
||||
strcpy(view->name, title);
|
||||
|
|
Loading…
Reference in a new issue