I would need to go back to my old dwm config file but I think what you’re looking for is this patch. In bspwm this is achieved with the “follow” option as shown in my example.
To restart dwm without login out and back in you’ll need this in your .xinitrc: