really update coords on resize
This commit is contained in:
parent
ae4932ce46
commit
6ef4b8e741
3
client.c
3
client.c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue