wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 63a7d58bffa1d30f6b4df402a665f4e8257163b8
parent e53f4f0a11126139c8f6ee700204fc3769b604d2
Author: Kris Maglione <jg@suckless.org>
Date:   Fri, 16 Feb 2007 14:04:09 -0500

Fixed configurerequest again

Diffstat:
client.c | 1-
event.c | 6+++---
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/client.c b/client.c @@ -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); diff --git a/event.c b/event.c @@ -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);