-
Committer:
Tarmac
-
Author(s):
Daniel van Vugt
-
Date:
2012-07-16 14:00:49 UTC
-
mfrom:
(3284.2.2 fix-1019337.2)
-
Revision ID:
tarmac-20120716140049-49fy9aryz1xzthgr
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.. Fixes: https://bugs.launchpad.net/bugs/1019337. Approved by Łukasz Zemczak, jenkins.