summaryrefslogtreecommitdiff
path: root/openbox/actions.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-22 05:17:10 +0000
committerDana Jansens <danakj@orodu.net>2007-06-22 05:17:10 +0000
commitd642be361fde438e2b29b7374b4d6465f47ad9e9 (patch)
treeb52caf5d31c9729f7cee06ce156a72bf4a89d307 /openbox/actions.c
parentbb0fd965c50289c02619113f113927294fa5be23 (diff)
add the move action
Diffstat (limited to 'openbox/actions.c')
-rw-r--r--openbox/actions.c5
1 files changed, 4 insertions, 1 deletions
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))