This should fix the maximization problem.

SVN revision: 15246
This commit is contained in:
sebastid 2005-06-10 23:37:16 +00:00 committed by sebastid
parent b1041e45f7
commit a1d95ce59a
2 changed files with 5 additions and 6 deletions

View File

@ -3721,10 +3721,10 @@ _e_border_eval(E_Border *bd)
} }
if (pnd->resize) if (pnd->resize)
{ {
bd->w = pnd->w + bd->client_inset.l + bd->client_inset.r; bd->w = pnd->w;
bd->h = pnd->h + bd->client_inset.t + bd->client_inset.b; bd->h = pnd->h;
bd->client.w = pnd->w; bd->client.w = pnd->w - (bd->client_inset.l + bd->client_inset.r);
bd->client.h = pnd->h; bd->client.h = pnd->h - (bd->client_inset.t + bd->client_inset.b);
bd->changes.size = 1; bd->changes.size = 1;
} }
free(pnd); free(pnd);

View File

@ -689,7 +689,6 @@ e_hints_window_state_update(E_Border *bd, Ecore_X_Window_State state,
} }
if (changed) if (changed)
{ {
/* FIXME, we have a pager, care about this! */
bd->client.netwm.update.state = 1; bd->client.netwm.update.state = 1;
bd->changed = 1; bd->changed = 1;
} }