Fixed configurerequest again

This commit is contained in:
Kris Maglione 2007-02-16 14:04:09 -05:00
parent e53f4f0a11
commit 63a7d58bff
2 changed files with 3 additions and 4 deletions

View File

@ -30,7 +30,6 @@ create_client(Window w, XWindowAttributes *wa) {
c->rect.height = wa->height;
c->proto = win_proto(c->win);
update_client_name(c);
gravitate_client(c, False);
c->fixedsize = False;
XGetTransientForHint(blz.dpy, c->win, &c->trans);

View File

@ -103,11 +103,11 @@ configurerequest(XEvent *e) {
if(ev->value_mask & CWX)
c->rect.x = ev->x;
if(ev->value_mask & CWY)
f->rect.y = ev->y;
c->rect.y = ev->y;
if(ev->value_mask & CWWidth)
f->rect.width = ev->width;
c->rect.width = ev->width;
if(ev->value_mask & CWHeight)
f->rect.height = ev->height;
c->rect.height = ev->height;
if(ev->value_mask & CWBorderWidth)
c->border = ev->border_width;
gravitate_client(c, False);