aboutsummaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-12 17:17:15 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-12 17:17:15 +0200
commit2e836ecce1ba0629a6088b739c1092d27fccd72b (patch)
tree3761067105ab4cd3d2d2843fda154090a20c98be /event.c
parent6db5ffb6c9a9c0db5c425c64a96a3896a682c95e (diff)
downloaddwm-2e836ecce1ba0629a6088b739c1092d27fccd72b.tar.gz
added gravity stuff
Diffstat (limited to 'event.c')
-rw-r--r--event.c4
1 files changed, 4 insertions, 0 deletions
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;