discomfitor pushed a commit to branch master.

commit 6337da1ef9a610169ed1029da84daf6c6de304ed
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Aug 30 10:52:21 2013 +0100

    only cut border frames if they've been calculated
---
 src/bin/e_comp.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 236cfbe..c36484f 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -3885,9 +3885,12 @@ 
_e_comp_shapes_update_comp_win_shape_comp_helper(E_Comp_Win *cw, Eina_Tiler *tb)
      {
         if (cw->bd)
           {
-             /* add the frame */
-             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);
+             if (cw->bd->client_inset.calc)
+               {
+                  /* add the frame */
+                  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);
+               }
 
              if (!cw->bd->shaded)
                {

-- 

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk

Reply via email to