commit 9fdc05580040c4cbc91c4268ed991f8a021cf51f parent 987842a8bbbe93c887aa2b44c26df78b1508c8da Author: Anselm R. Garbe <garbeam@wmii.de> Date: Wed, 10 May 2006 15:24:09 +0200 small stylistic changes Diffstat:
| cmd/wm/client.c | | | 5 | ++++- |
| cmd/wm/event.c | | | 2 | +- |
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/cmd/wm/client.c b/cmd/wm/client.c @@ -516,7 +516,10 @@ resize_client(Client *c, XRectangle *r, Bool ignore_xcall) match_sizehints(c); if(!ignore_xcall) { - if(!idx_of_area(f->area) && c->rect.width >= rect.width && c->rect.height >= rect.height) { + if(!idx_of_area(f->area) && + (c->rect.width >= rect.width) && + (c->rect.height >= rect.height)) + { f->rect.x = -def.border; f->rect.y = -height_of_bar(); } diff --git a/cmd/wm/event.c b/cmd/wm/event.c @@ -155,8 +155,8 @@ handle_configurerequest(XEvent *e) if(c->frame.size) { Frame *f = c->frame.data[c->sel]; if(c->rect.width >= rect.width && c->rect.height >= rect.height) { - f->rect.x = wc.x = -def.border; f->rect.y = wc.y = -height_of_bar(); + f->rect.x = wc.x = -def.border; } else { f->rect.x = wc.x = c->rect.x - def.border;