discomfitor pushed a commit to branch master.
commit efa7f678931295cddc65189d1b55dca778cc2c32
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Apr 17 06:12:37 2013 +0100
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 e183a61..929834d 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;
--
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter