discomfitor pushed a commit to branch master.

commit 256d1386c1daa3bb34fbf6c9f99c8895932d8f7d
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Apr 17 08:46:36 2013 +0100

    update comp win geometry correctly for override (non-pixmap) windows
---
 src/bin/e_comp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index d199fce..be2eca2 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -485,7 +485,7 @@ _e_comp_win_geometry_update(E_Comp_Win *cw)
    else if (cw->bd)
      w = cw->bd->w, h = cw->bd->h;
    else
-     w = cw->pw, h = cw->ph;
+     w = cw->pw ?: cw->w, h = cw->ph ?: cw->h;
    e_zoomap_child_resize(cw->zoomobj, w, h);
    if (cw->not_in_layout)
      {
@@ -640,6 +640,7 @@ _e_comp_win_update(E_Comp_Win *cw)
      }
    if (!((cw->pw > 0) && (cw->ph > 0)))
      {
+        if (cw->geom_update) _e_comp_win_geometry_update(cw);
         if (conf->grab) ecore_x_ungrab();
         return;
      }

-- 

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