[mutter/wayland] window-x11: Add back missing error trap



commit c5c3806a04cf2dd46e08355dd79cd3b0e8de934b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Feb 26 19:54:07 2014 -0500

    window-x11: Add back missing error trap
    
    This was accidentally removed in 9f5087e.

 src/core/window-x11.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/core/window-x11.c b/src/core/window-x11.c
index 00c7faf..6c1e7e2 100644
--- a/src/core/window-x11.c
+++ b/src/core/window-x11.c
@@ -395,6 +395,7 @@ meta_window_x11_update_input_region (MetaWindow *window)
       XRectangle *rects = NULL;
       int n_rects, ordering;
 
+      meta_error_trap_push (window->display);
       rects = XShapeGetRectangles (window->display->xdisplay,
                                    window->xwindow,
                                    ShapeInput,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]