diff options
Diffstat (limited to '')
| -rw-r--r-- | event.c | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -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; |
