Revert "MetaWindowActor: Delete useless error trap"

This reverts commit 766799ec6d.
This commit is contained in:
Jasper St. Pierre 2011-09-13 13:41:43 -04:00
parent 766799ec6d
commit de704386a1

View File

@ -1858,6 +1858,8 @@ check_needs_pixmap (MetaWindowActor *self)
priv->size_changed = FALSE;
}
meta_error_trap_push (display);
if (priv->back_pixmap == None)
{
gint pxm_width, pxm_height;
@ -1908,6 +1910,8 @@ check_needs_pixmap (MetaWindowActor *self)
meta_window_actor_update_bounding_region_and_borders (self, pxm_width, pxm_height);
}
meta_error_trap_pop (display);
priv->needs_pixmap = FALSE;
}