Revert "Remove unnecessary looping over all root windows"

This reverts commit 822d38eacde7849678cc7cca74b75d0c5f4ed773.

Reason for revert: Breaks window magnetism when dragging to an external display.

Original change's description:
> Remove unnecessary looping over all root windows
> We don't need to check magnitism between windows
> on different roots/displays. We should just use
> the same root of the window being dragged.
> BUG=942728
> Change-Id: Iffbdcc9fef29c84fe090a8c50dde88e4a387dc2f
> Reviewed-on:
> Reviewed-by: Mitsuru Oshima <>
> Commit-Queue: Ahmed Fakhry <>
> Cr-Commit-Position: refs/heads/master@{#641370},

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 942728
Change-Id: If557ff47c288dd3b091aa2a80c81b7b0cd66481f
Reviewed-by: Ahmed Fakhry <>
Commit-Queue: Ahmed Fakhry <>
Cr-Commit-Position: refs/heads/master@{#641731}
1 file changed