Upstream commit to let the right window get focus after closing one

Commit ```e257580b9484762064692b214114442243afa262``` in Mutter

Fixes linuxmint/Cinnamon#1970 and linuxmint/Cinnamon#1257