[hackers] [wmii] Fixed configurerequest again

From: Kris Maglione <jg_AT_suckless.org>
Date: Fri Feb 16 20:08:18 2007

changeset: 1891:dc9c49dc0db3
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Fri Feb 16 14:04:09 2007 -0500
summary: Fixed configurerequest again

diff -r 94913be81e50 -r dc9c49dc0db3 client.c
--- a/client.c Fri Feb 16 13:41:23 2007 -0500
+++ b/client.c Fri Feb 16 14:04:09 2007 -0500
@@ -30,7 +30,6 @@ create_client(Window w, XWindowAttribute
         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 -r 94913be81e50 -r dc9c49dc0db3 event.c
--- a/event.c Fri Feb 16 13:41:23 2007 -0500
+++ b/event.c Fri Feb 16 14:04:09 2007 -0500
@@ -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);
Received on Fri Feb 16 2007 - 20:08:18 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:23 UTC