discomfitor pushed a commit to branch master.

commit 1071bd902019b5e0fed130a5b355f830c01f85dd
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Apr 18 12:44:19 2013 +0100

    fix comp win geometry updates for shaded windows
---
 src/bin/e_comp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 86eacb7..96b5fbb 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -484,7 +484,7 @@ _e_comp_win_geometry_update(E_Comp_Win *cw)
      w = cw->w, h = cw->h;
    else if (cw->bd)
      {
-        if (cw->pw && cw->ph)
+        if ((!cw->bd->shaded) && cw->pw && cw->ph)
           w = cw->pw + cw->bd->client_inset.l + cw->bd->client_inset.r, h = 
cw->ph + cw->bd->client_inset.t + cw->bd->client_inset.b;
         else
           w = cw->bd->w, h = cw->bd->h;

-- 

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

Reply via email to