I think it's most likely a focus-prevention issue in Compiz. Try lowering it using CompizConfig Settings Manager, under General Options → Focus & Raise Behaviour → Focus Prevention Level.
I'm not sure exactly what each level means, but on the higher levels, windows that attempt to raise themselves are forced into demands-attention mode instead.
I think it's most likely a focus-prevention issue in Compiz. Try lowering it using CompizConfig Settings Manager, under General Options → Focus & Raise Behaviour → Focus Prevention Level.
I'm not sure exactly what each level means, but on the higher levels, windows that attempt to raise themselves are forced into demands-attention mode instead.