Comment 2 for bug 189329

The behavior reported in the bug is still there. I think compiz may be a little faster now (on my machine), so that the back-and-forth switch of focus is less noticeable; but it still happens every time, as far as I can see.

As I said in the first report, the difficulty with "fixing" this bug is the question of the compiz animations: if there is an elaborate animation for the minimize effect, one would want that animation to occur for the window being minimized, *behind* the frontmost window (which remains focused). I know nothing about it, but I imagine this might be difficult.