Comment 5 for bug 189329

The bug really does exist, at least in 10.04. The screencast shows what is happening. The animation for "focus" in the compiz animation plugin is set to "Dodge" to make the behavior more apparent. When the rear window is closed using its close button, the front window "Dodges" and the back window gets focus before closing.