~vanvugt/compiz-core/fix-1039843

Viewing all changes in revision 3114.

  • Committer: Daniel van Vugt
  • Date: 2012-07-17 02:52:44 UTC
  • Revision ID: daniel.van.vugt@canonical.com-20120717025244-771hyupluuho0b7y
Fix crash LP: #1019337 properly this time.

The original fix did not handle the case where:
    (win != NULL && xid != None && !valid_window(xid))
so would still exit with an X error.

Now we trap and handle such errors gracefully, instead of hitting the
default handler which kills gtk-window-decorator.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: