> When the focussed window disappears metacity will often select some > other random window for the new focus It seems to work fine here. Could you test with metacity 2.6.3 to see if the bug is still here ? Thanks, Sebastien Bacher