From: Carsten Haitzler Date: Wed, 17 Aug 2005 06:28:08 +0000 (+0000) Subject: bug-- X-Git-Tag: submit/efl/20131021.015651~15264 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3dd562b97c27139e2c8c962c8b0bedfaf051496b;p=platform%2Fupstream%2Fenlightenment.git bug-- SVN revision: 16223 --- diff --git a/TODO b/TODO index 813ec21f74..62d9b244f2 100644 --- 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. diff --git a/src/bin/e_border.c b/src/bin/e_border.c index bd56ea3ce2..36a9c689ba 100644 --- a/src/bin/e_border.c +++ b/src/bin/e_border.c @@ -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; } }