Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_evas


Modified Files:
        ecore_evas_x.c 


Log Message:


update x, y if not managed (override)

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_evas/ecore_evas_x.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -3 -r1.80 -r1.81
--- ecore_evas_x.c      18 Jun 2006 02:19:21 -0000      1.80
+++ ecore_evas_x.c      20 Jul 2006 17:12:30 -0000      1.81
@@ -1106,6 +1106,8 @@
          {
             if ((x != ee->x) || (y != ee->y))
               {
+                 ee->x = x;
+                 ee->y = y;
                  ecore_x_window_move(ee->engine.x.win, x, y);
                  if (!ee->should_be_visible)
                    {
@@ -1126,6 +1128,11 @@
             ee->prop.request_pos = 1;
             _ecore_evas_x_size_pos_hints_update(ee);
          }
+       if (!ee->engine.x.managed)
+         {
+            ee->x = x;
+            ee->y = y;
+         }
      }
 }
 
@@ -1232,7 +1239,14 @@
          }
      }
    else
-     ecore_x_window_move_resize(ee->engine.x.win, x, y, w, h);
+     {
+       ecore_x_window_move_resize(ee->engine.x.win, x, y, w, h);
+       if (!ee->engine.x.managed)
+         {
+            ee->x = x;
+            ee->y = y;
+         }
+     }
 }
 
 static void



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to