mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
Revert "MetaWindowActor: Delete useless error trap"
This reverts commit 766799ec6d
.
This commit is contained in:
parent
766799ec6d
commit
de704386a1
@ -1858,6 +1858,8 @@ check_needs_pixmap (MetaWindowActor *self)
|
|||||||
priv->size_changed = FALSE;
|
priv->size_changed = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
meta_error_trap_push (display);
|
||||||
|
|
||||||
if (priv->back_pixmap == None)
|
if (priv->back_pixmap == None)
|
||||||
{
|
{
|
||||||
gint pxm_width, pxm_height;
|
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_window_actor_update_bounding_region_and_borders (self, pxm_width, pxm_height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
meta_error_trap_pop (display);
|
||||||
|
|
||||||
priv->needs_pixmap = FALSE;
|
priv->needs_pixmap = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user