bug--
authorCarsten Haitzler <raster@rasterman.com>
Wed, 17 Aug 2005 06:28:08 +0000 (06:28 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Wed, 17 Aug 2005 06:28:08 +0000 (06:28 +0000)
SVN revision: 16223

TODO
src/bin/e_border.c

diff --git a/TODO b/TODO
index 813ec21..62d9b24 100644 (file)
--- a/TODO
+++ b/TODO
@@ -8,7 +8,6 @@ Some of the things (in very short form) that need to be done to E17...
   BUGS / FIXES
 -------------------------------------------------------------------------------
 
-* ewl_test combo produces a window less than 0x0 pixels! wow!
 * e_hints.c manually changes flags on a border instead of calling
   e_border_stick() for example or the calls in e_border.c - add calls as needed
   to e_border.c. before calling check the lock flags too.
index bd56ea3..36a9c68 100644 (file)
@@ -667,8 +667,8 @@ e_border_resize(E_Border *bd, int w, int h)
        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 @@ e_border_move_resize(E_Border *bd, int x, int y, int w, int h)
        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 @@ _e_border_eval(E_Border *bd)
               {
                  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;
                    }
               }