Slowly drag one window to the edge of another. This also works with the dock, screen edges, and menu bar.