Comment 37 for bug 197209

Rob: the missing window borders are expected unless you are using the partial solution at http://news.gmane.org/find-root.php?message_id=%3c87y76n7w19.fsf%40mcbain.luannocracy.com%3e. In particular, /etc/pm/sleep.d/00compiz is responsible for re-launching the compiz process. If, even with that script in place (and chmod+x'd), you are still not getting your borders back, something is wrong. I suggest you add the line:

  set -x

Just before

  case "$1" in

and the line:

  set +x

just after

  esac

do a suspend/resume cycle, and post the contents of /var/log/pm-suspend.log