On Gnome (a linux desktop environment) I can move/resize a window (even if it's not active) by holding the meta/command key and using the left mouse button to move, or the middle mouse button to ...