Fix workspace assignements after output changes

Fix #4261

The previous method was modifying the same list it was iterating upon
causing an erronous iteration and thus not every workspace got assigned
back to were they should (only the first one).
This commit is contained in:
Anaël Beutot
2020-12-29 21:45:39 +01:00
parent 5354eaa27e
commit d539c6e288
2 changed files with 21 additions and 17 deletions

View File

@ -19,3 +19,4 @@ strongly encouraged to upgrade.
└────────────────────────────┘
• when initializing new outputs, avoid duplicating workspace numbers
• fix workspaces not moving to assigned output after output becomes available