Once a layout is set up the way I want it, I sometimes only want the contents moved. The editor should sit where the logs are and the other way around. Resizing and dragging is the slow route.
rotate-window moves the panes through the positions of the window. The manual says it rotates the positions of the panes within a window, upward (numerically lower) with -U or downward (numerically higher) by default. You can run it from the command prompt:
tmux rotate-window -D
There are default keys as well. Ctrl-b Ctrl-o rotates the panes in the current window forwards and Ctrl-b Alt-o backwards. Press it again to keep going until the right pane sits in the right slot.
Take a window with an editor on the left, a build log top right and a shell bottom right. With -D, one rotation moves the editor into the top right slot, the log into the bottom right slot and the shell over to the left. The size and shape of each slot stay the same, only the pane in it changes.
The -Z flag keeps the window zoomed if it was zoomed:
tmux rotate-window -Z
The caveat: a pane may land in a slot that is much smaller or larger than it was, because the slots keep their size. If the result looks off, rotate the other way, or apply one of the presets from select-layout, such as tmux select-layout tiled.
Further reading: tmux manual (rotate-window)