I have the same issue, but the work around with terminal mode does not
work for me.
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
Resuming from sleep makes black borders around windows appear
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~compiz
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~compiz
More help : https://help.launchpad.net/ListHelp