From 81417dd3446bfea27898f3f48520ebcd04ad9887 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 19 May 2003 04:13:06 +0000 Subject: [PATCH] use the resize increment when resizing relative --- openbox/action.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openbox/action.c b/openbox/action.c index 9aeeff58..7f1622fa 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -633,7 +633,8 @@ void action_resize_relative_horz(union ActionData *data) Client *c = data->relative.c; if (c) client_configure(c, Corner_TopLeft, c->area.x, c->area.y, - c->area.width + data->relative.delta, + c->area.width + + data->relative.delta * c->size_inc.width, c->area.height, TRUE, TRUE); } @@ -642,7 +643,8 @@ void action_resize_relative_vert(union ActionData *data) Client *c = data->relative.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, + c->area.width, c->area.height + + data->relative.delta * c->size_inc.height, TRUE, TRUE); } -- 2.45.2