aboutsummaryrefslogtreecommitdiff
path: root/swaybar
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-01-30 10:11:09 +0100
committerFurkan Sahin <furkan-dev@proton.me>2021-01-30 10:11:09 +0100
commit5cbb414c32a9b0072296ff539b58d8a050273fc4 (patch)
tree5e40873ea528f263902850a0e4f8f643ef0f60d3 /swaybar
parentb731f5f1baf74b6696050613ca4d2e4697dcaa7f (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 'swaybar')
0 files changed, 0 insertions, 0 deletions