Sway records pid, workspace, and output for every new process. However, if the output gets disabled and the workspace disappears, the workspace is still re-created on the disabled output. This commit adds a check for the enabled flag, so that NULL will be passed to workspace_create() in this case. |
||
|---|---|---|
| .. | ||
| arrange.c | ||
| container.c | ||
| node.c | ||
| output.c | ||
| root.c | ||
| view.c | ||
| workspace.c | ||