From 2e836ecce1ba0629a6088b739c1092d27fccd72b Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Wed, 12 Jul 2006 17:17:15 +0200 Subject: added gravity stuff --- event.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'event.c') diff --git a/event.c b/event.c index 1db3d96..93007df 100644 --- a/event.c +++ b/event.c @@ -77,6 +77,7 @@ configurerequest(XEvent *e) ev->value_mask &= ~CWSibling; if((c = getclient(ev->window))) { + gravitate(c, True); if(ev->value_mask & CWX) c->x = ev->x; if(ev->value_mask & CWY) @@ -85,6 +86,9 @@ configurerequest(XEvent *e) c->w = ev->width; if(ev->value_mask & CWHeight) c->h = ev->height; + if(ev->value_mask & CWBorderWidth) + c->border = ev->border_width; + gravitate(c, False); } wc.x = ev->x; -- cgit v1.2.3