Use move-window for window dragging instead of a loop and swap-window. When using -a or -b (i.e. after or before) the target can be occupied and the windows are reordered automatically.
Use move-window for window dragging instead of a loop and swap-window. When using -a or -b (i.e. after or before) the target can be occupied and the windows are reordered automatically.