I have completely same problem when using Compiz in Ubuntu classic. Also the window title sometimes look like inactive even if it has focus and the titlebar of previous active window appears like active. I've attached screenshot of this behaviour.
** Attachment added: "screenshot1.png" https://bugs.launchpad.net/unity/+bug/768356/+attachment/2130793/+files/screenshot1.png -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/768356 Title: Title bar text doesn't change with app _______________________________________________ Mailing list: https://launchpad.net/~compiz Post to : [email protected] Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp

