aewl
diff event.c @ 29:8ad86d0a6a53
added gravity stuff
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Wed, 12 Jul 2006 17:17:15 +0200 |
parents | e8f627998d6f |
children | 2e0fb4130bfb |
line diff
1.1 --- a/event.c Wed Jul 12 16:40:37 2006 +0200 1.2 +++ b/event.c Wed Jul 12 17:17:15 2006 +0200 1.3 @@ -77,6 +77,7 @@ 1.4 1.5 ev->value_mask &= ~CWSibling; 1.6 if((c = getclient(ev->window))) { 1.7 + gravitate(c, True); 1.8 if(ev->value_mask & CWX) 1.9 c->x = ev->x; 1.10 if(ev->value_mask & CWY) 1.11 @@ -85,6 +86,9 @@ 1.12 c->w = ev->width; 1.13 if(ev->value_mask & CWHeight) 1.14 c->h = ev->height; 1.15 + if(ev->value_mask & CWBorderWidth) 1.16 + c->border = ev->border_width; 1.17 + gravitate(c, False); 1.18 } 1.19 1.20 wc.x = ev->x;