SVN revision: 16223
This commit is contained in:
Carsten Haitzler 2005-08-17 06:28:08 +00:00
parent 8f1b0d9f5c
commit 3dd562b97c
2 changed files with 8 additions and 9 deletions

1
TODO
View File

@ -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.

View 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;
}
}