For what it's worth, the only OS's implementation I've seen tackle this is OS X. They "solved" it by completely separating the displays as their own workspaces, and never allowing a window to overlap two displays.
For what it's worth, the only OS's implementation I've seen tackle this is OS X. They "solved" it by completely separating the displays as their own workspaces, and never allowing a window to overlap two displays.