From: Mikael Magnusson Date: Fri, 19 Feb 2010 21:34:43 +0000 (+0100) Subject: Use the ObClient *c variable in moverelative X-Git-Tag: release-3.4.11.1~13 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=67147ade572b8fd468c5d6736a41b834b3b60a53;p=dana%2Fopenbox.git Use the ObClient *c variable in moverelative --- 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); }