From efa7f678931295cddc65189d1b55dca778cc2c32 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 17 Apr 2013 06:12:37 +0100 Subject: [PATCH] fix input shapes for frames of shaped windows --- src/bin/e_comp.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index e183a615e..929834d88 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -3681,7 +3681,13 @@ _e_comp_shapes_update_comp_win_shape_comp_helper(E_Comp_Win *cw, Eina_Tiler *tb) { int num; Ecore_X_Rectangle *rect; - + + /* add the frame */ + if (cw->bd) + { + eina_tiler_rect_add(tb, &(Eina_Rectangle){cw->bd->x, cw->bd->y, cw->bd->w, cw->bd->h}); + SHAPE_INF("ADD: %d,%d@%dx%d", cw->bd->x, cw->bd->y, cw->bd->w, cw->bd->h); + } for (num = 0, rect = cw->rects; num < cw->rects_num; num++, rect++) { x = rect->x, y = rect->y, w = rect->width, h = rect->height;