Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ewin-ops.c 


Log Message:
Fix position after unshading certain borders. Cleanups.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ewin-ops.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -3 -r1.86 -r1.87
--- ewin-ops.c  7 Jan 2006 07:20:58 -0000       1.86
+++ ewin-ops.c  11 Feb 2006 14:19:44 -0000      1.87
@@ -832,9 +832,6 @@
    EoMoveResize(ewin, x, y, w, h);
    EMoveResizeWindow(ewin->win_container, -30, -30, 1, 1);
    EwinBorderCalcSizes(ewin, 1);
-#if 0                          /* FIXME - Remove? */
-   ESync();
-#endif
 }
 
 void
@@ -890,9 +887,6 @@
 
    ewin->state.shaded = 0;
    EwinMoveResize(ewin, x, y, ewin->client.w, ewin->client.h);
-#if 0                          /* FIXME - Remove? */
-   ESync();
-#endif
 }
 
 #define _EWIN_ADJUST_SHAPE(ewin, xo, yo) \
@@ -1071,9 +1065,6 @@
 
    EwinMoveResize(ewin, EoGetX(ewin), EoGetY(ewin), ewin->client.w,
                  ewin->client.h);
-#if 0                          /* FIXME - Remove? */
-   ESync();
-#endif
 
 #if 0
    EUngrabServer();
@@ -1153,7 +1144,7 @@
        EChangeWindowAttributes(_EwinGetClientWin(ewin), CWWinGravity, &att);
        a = ewin->border->border.left + ewin->border->border.right;
        b = ewin->client.w + a;
-       c = x + a;
+       c = x + w;              /* NB! w != a is possible */
        ewin->state.shaded = 0;
        EMoveResizeWindow(ewin->win_container,
                          ewin->border->border.left, ewin->border->border.top,
@@ -1229,7 +1220,7 @@
        EChangeWindowAttributes(_EwinGetClientWin(ewin), CWWinGravity, &att);
        a = ewin->border->border.top + ewin->border->border.bottom;
        b = ewin->client.h + a;
-       c = y + h;
+       c = y + h;              /* NB! h != a is possible */
        ewin->state.shaded = 0;
        EMoveResizeWindow(ewin->win_container,
                          ewin->border->border.left, ewin->border->border.top,
@@ -1279,9 +1270,6 @@
 
    EwinMoveResize(ewin, EoGetX(ewin), EoGetY(ewin), ewin->client.w,
                  ewin->client.h);
-#if 0                          /* FIXME - Remove? */
-   ESync();
-#endif
 
 #if 0
    EUngrabServer();




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to