From de704386a1df1f9dd52af48992f812e9de5a013a Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 13 Sep 2011 13:41:43 -0400 Subject: [PATCH] Revert "MetaWindowActor: Delete useless error trap" This reverts commit 766799ec6d16dbeb49317d929ff9ce41f2d6597f. --- src/compositor/meta-window-actor.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index 52f7b4634..7660e40dd 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -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; }