50f3a7ff5c
In a multi-output setup, if a sticky container is on one output and focus is on the other output, and you run (eg) `workspace 1` to focus the workspace containing the sticky container, an infinite loop would occur. It would loop infinitely because it would remove the sticky container from the workspace, add it back to the same workspace, and then decrement the iterator variable. The fix just wraps the loop in a workspace comparison. |
||
---|---|---|
.. | ||
arrange.c | ||
container.c | ||
layout.c | ||
output.c | ||
root.c | ||
view.c | ||
workspace.c |