Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ewin-ops.c 


Log Message:
Reset gravity after unshading.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ewin-ops.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- ewin-ops.c  28 Mar 2005 13:39:32 -0000      1.19
+++ ewin-ops.c  29 Mar 2005 22:49:45 -0000      1.20
@@ -698,6 +698,10 @@
        break;
      }
 
+   /* Reset gravity */
+   att.win_gravity = NorthWestGravity;
+   EChangeWindowAttributes(ewin->client.win, CWWinGravity, &att);
+
    ewin->shaded = 0;
    MoveResizeEwin(ewin, EoGetX(ewin), EoGetY(ewin), ewin->client.w,
                  ewin->client.h);
@@ -1132,6 +1136,10 @@
        break;
      }
 
+   /* Reset gravity */
+   att.win_gravity = NorthWestGravity;
+   EChangeWindowAttributes(ewin->client.win, CWWinGravity, &att);
+
    MoveResizeEwin(ewin, EoGetX(ewin), EoGetY(ewin), ewin->client.w,
                  ewin->client.h);
    ecore_x_sync();




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to