fix shaped windows

This commit is contained in:
Mike Blumenkrantz 2013-04-16 09:02:13 +01:00
parent 0cc242b5b6
commit ef5be6c343
1 changed files with 3 additions and 2 deletions

View File

@ -8697,7 +8697,7 @@ _e_border_eval(E_Border *bd)
_e_border_shape_input_rectangle_set(bd);
if (!bd->client.shaped)
ecore_x_window_shape_mask_set(bd->win, 0);
// bd->need_shape_export = 1;
bd->need_shape_export = 1;
bd->need_shape_merge = 0;
}
@ -8706,7 +8706,7 @@ _e_border_eval(E_Border *bd)
Ecore_X_Rectangle *rects, *orects;
int num;
rects = ecore_x_window_shape_rectangles_get(bd->win, &num);
rects = ecore_x_window_shape_rectangles_get(bd->client.win, &num);
if (rects)
{
int changed;
@ -8752,6 +8752,7 @@ _e_border_eval(E_Border *bd)
E_FREE(bd->shape_rects);
bd->shape_rects = rects;
bd->shape_rects_num = num;
ecore_x_window_shape_rectangles_set(bd->win, rects, num);
e_container_shape_rects_set(bd->shape, rects, num);
}
else