really update coords on resize

This commit is contained in:
Julien Danjou 2007-11-10 10:12:50 +01:00
parent ae4932ce46
commit 6ef4b8e741
1 changed files with 2 additions and 5 deletions

View File

@ -442,12 +442,9 @@ client_resize(Client *c, int x, int y, int w, int h, awesome_config *awesomeconf
{
c->rx = c->x;
c->ry = c->y;
if (c->w != w || c->h != h)
{
c->rw = c->w;
c->rh = c->h;
}
}
wc.border_width = c->border;
XConfigureWindow(c->display, c->win, CWX | CWY | CWWidth | CWHeight | CWBorderWidth, &wc);
window_configure(c->display, c->win, c->x, c->y, c->w, c->h, c->border);