Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/ecore

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


Modified Files:
        ecore_evas_x.c 


Log Message:
If the ecore_evas is hidden, we need to request pos for a move to be
effective.

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_evas/ecore_evas_x.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- ecore_evas_x.c      11 Jun 2005 06:05:51 -0000      1.41
+++ ecore_evas_x.c      13 Jun 2005 11:57:14 -0000      1.42
@@ -480,7 +480,7 @@
 _ecore_evas_x_size_pos_hints_update(Ecore_Evas *ee)
 {
    ecore_x_icccm_size_pos_hints_set(ee->engine.x.win_container,
-                                   0 /*request_pos */,
+                                   1 /*request_pos */,
                                    ECORE_X_GRAVITY_NW /* gravity */,
                                    ee->prop.min.w /* min_w */,
                                    ee->prop.min.h /* min_h */,
@@ -855,6 +855,11 @@
 _ecore_evas_x_move(Ecore_Evas *ee, int x, int y)
 {
    ecore_x_window_move(ee->engine.x.win_container, x, y);
+   if (!ee->should_be_visible)
+     {
+       /* We need to request pos */
+       _ecore_evas_x_size_pos_hints_update(ee);
+     }
 }
 
 static void




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to