Draft: window: Should not occupy all workspaces when workspaces-only-on-primary
A window on a secondary monitor with workspaces-only-on-primary
is
effectively on no workspaces, not all workspaces.
This fixes an infinite loop:
- Window too large for primary monitor and is moved to secondary by the constraints logic.
-
should_be_on_all_workspaces
notices the window is on a secondary monitor and so declares it should be on all workspaces. - Being on all workspaces makes the window on the primary monitor because
workspaces-only-on-primary
is true. - Goto 1.
Closes: #2333