It's not just limited to dragging windows around. The mouse-clicks get passed to the background app. You can use it with anything. It's called click-through and has been around for a long time.
I first learned about it here: https://duckduckgo.com/?q=click-through+site%3Adaringfirebal...