From 67147ade572b8fd468c5d6736a41b834b3b60a53 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Fri, 19 Feb 2010 22:34:43 +0100 Subject: [PATCH] Use the ObClient *c variable in moverelative --- openbox/actions/moverelative.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/openbox/actions/moverelative.c b/openbox/actions/moverelative.c index 1d1189cd..a5535192 100644 --- a/openbox/actions/moverelative.c +++ b/openbox/actions/moverelative.c @@ -54,15 +54,15 @@ static gboolean run_func(ObActionsData *data, gpointer options) gint x, y, lw, lh, w, h; c = data->client; - x = data->client->area.x + o->x; - y = data->client->area.y + o->y; - w = data->client->area.width; - h = data->client->area.height; - client_try_configure(data->client, &x, &y, &w, &h, &lw, &lh, TRUE); - client_find_onscreen(data->client, &x, &y, w, h, FALSE); + x = c->area.x + o->x; + y = c->area.y + o->y; + w = c->area.width; + h = c->area.height; + client_try_configure(c, &x, &y, &w, &h, &lw, &lh, TRUE); + client_find_onscreen(c, &x, &y, w, h, FALSE); actions_client_move(data, TRUE); - client_configure(data->client, x, y, w, h, TRUE, TRUE, FALSE); + client_configure(c, x, y, w, h, TRUE, TRUE, FALSE); actions_client_move(data, FALSE); } -- 2.34.1