diff options
author | Anselm R. Garbe | 2006-07-12 17:17:15 +0200 |
---|---|---|
committer | Anselm R. Garbe | 2006-07-12 17:17:15 +0200 |
commit | 2e836ecce1ba0629a6088b739c1092d27fccd72b (patch) | |
tree | 3761067105ab4cd3d2d2843fda154090a20c98be /event.c | |
parent | 6db5ffb6c9a9c0db5c425c64a96a3896a682c95e (diff) |
added gravity stuff
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |