window-x11: Add back missing error trap

This was accidentally removed in 9f5087e.
This commit is contained in:
Jasper St. Pierre 2014-02-26 19:54:07 -05:00
parent ac0c7df4a3
commit c5c3806a04

View File

@ -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,