Running the attached script works as expected when using compiz, but fails to show the second window when using metacity.
Running the attached script works as expected when using compiz, but fails to show the second window when using metacity.