From d642be361fde438e2b29b7374b4d6465f47ad9e9 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 22 Jun 2007 05:17:10 +0000 Subject: add the move action --- openbox/actions.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'openbox/actions.c') diff --git a/openbox/actions.c b/openbox/actions.c index b56d834a..a4308e62 100644 --- a/openbox/actions.c +++ b/openbox/actions.c @@ -193,6 +193,7 @@ static void actions_setup_data(ObActionsData *data, guint state, gint x, gint y, + gint button, ObFrameContext con, struct _ObClient *client) { @@ -200,6 +201,7 @@ static void actions_setup_data(ObActionsData *data, data->state = state; data->x = x; data->y = y; + data->button = button; data->context = con; data->client = client; } @@ -209,6 +211,7 @@ void actions_run_acts(GSList *acts, guint state, gint x, gint y, + gint button, ObFrameContext con, struct _ObClient *client) { @@ -227,7 +230,7 @@ void actions_run_acts(GSList *acts, ObActionsAct *act = it->data; gboolean ok = TRUE; - actions_setup_data(&data, uact, state, x, y, con, client); + actions_setup_data(&data, uact, state, x, y, button, con, client); if (actions_act_is_interactive(act) && (!interactive_act || interactive_act->def != act->def)) -- cgit v1.2.3