void action_resize_relative_vert(union ActionData *data)
{
Client *c = data->relative.c;
- if (c)
+ if (c && !c->shaded)
client_configure(c, Corner_TopLeft, c->area.x, c->area.y,
c->area.width, c->area.height + data->relative.delta,
TRUE, TRUE);
int w = data->resize.x;
int h = data->resize.y;
- if (!c || !client_normal(c)) return;
+ if (!c || c->shaded || !client_normal(c)) return;
- /* XXX window snapping/struts */
-
dispatch_resize(c, &w, &h, data->resize.corner);
w -= c->frame->size.left + c->frame->size.right;