Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_border.c 


Log Message:


bug--

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.359
retrieving revision 1.360
diff -u -3 -r1.359 -r1.360
--- e_border.c  15 Aug 2005 10:20:45 -0000      1.359
+++ e_border.c  17 Aug 2005 06:28:08 -0000      1.360
@@ -667,8 +667,8 @@
        pnd = E_NEW(E_Border_Pending_Move_Resize, 1);
        if (!pnd) return;
        pnd->resize = 1;
-       pnd->w = w;
-       pnd->h = h;
+       pnd->w = w - (bd->client_inset.l + bd->client_inset.r);
+       pnd->h = h - (bd->client_inset.t + bd->client_inset.b);
        bd->pending_move_resize = evas_list_append(bd->pending_move_resize, 
pnd);
        return;
      }
@@ -723,8 +723,8 @@
        pnd->resize = 1;
        pnd->x = x;
        pnd->y = y;
-       pnd->w = w;
-       pnd->h = h;
+       pnd->w = w - (bd->client_inset.l + bd->client_inset.r);
+       pnd->h = h - (bd->client_inset.t + bd->client_inset.b);
        bd->pending_move_resize = evas_list_append(bd->pending_move_resize, 
pnd);
        return;
      }
@@ -4621,10 +4621,10 @@
               {
                  if (pnd->resize)
                    {
-                      bd->w = pnd->w;
-                      bd->h = pnd->h;
-                      bd->client.w = pnd->w - (bd->client_inset.l + 
bd->client_inset.r);
-                      bd->client.h = pnd->h - (bd->client_inset.t + 
bd->client_inset.b);
+                      bd->w = pnd->w + (bd->client_inset.l + 
bd->client_inset.r);
+                      bd->h = pnd->h + (bd->client_inset.t + 
bd->client_inset.b);
+                      bd->client.w = pnd->w;
+                      bd->client.h = pnd->h;
                       bd->changes.size = 1;
                    }
               }




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to