summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
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)
77 77
78 ev->value_mask &= ~CWSibling; 78 ev->value_mask &= ~CWSibling;
79 if((c = getclient(ev->window))) { 79 if((c = getclient(ev->window))) {
80 gravitate(c, True);
80 if(ev->value_mask & CWX) 81 if(ev->value_mask & CWX)
81 c->x = ev->x; 82 c->x = ev->x;
82 if(ev->value_mask & CWY) 83 if(ev->value_mask & CWY)
@@ -85,6 +86,9 @@ configurerequest(XEvent *e)
85 c->w = ev->width; 86 c->w = ev->width;
86 if(ev->value_mask & CWHeight) 87 if(ev->value_mask & CWHeight)
87 c->h = ev->height; 88 c->h = ev->height;
89 if(ev->value_mask & CWBorderWidth)
90 c->border = ev->border_width;
91 gravitate(c, False);
88 } 92 }
89 93
90 wc.x = ev->x; 94 wc.x = ev->x;