diff options
author | Konstantin Pospelov <kupospelov@gmail.com> | 2021-01-30 10:11:09 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-30 11:24:43 +0100 |
commit | 8b7008a2962ac44510531c066adef73e01e653eb (patch) | |
tree | 5e40873ea528f263902850a0e4f8f643ef0f60d3 /swaynag/main.c | |
parent | f8c6fc1944304ede26fc2f6fb7020535bf4c6cce (diff) |
Check the output state for recorded workspaces
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.
Diffstat (limited to 'swaynag/main.c')
0 files changed, 0 insertions, 0 deletions