all repos — openbox @ b11a9484426b2bbdf05af39ca3103008665c2e8a

openbox fork - make it a bit more like ryudo

don't use action_run_string in action.c, pass along the data so that the second action gets all the same flags
Dana Jansens danakj@orodu.net
commit

b11a9484426b2bbdf05af39ca3103008665c2e8a

parent

a6e4aba8063494f010251393c26ff2e56fb973ba

1 files changed, 8 insertions(+), 5 deletions(-)

jump to
M openbox/action.copenbox/action.c

@@ -1041,7 +1041,10 @@ }

} } - action_run_string((raise ? "Raise" : "Lower"), c); + if (raise) + action_raise(data); + else + action_lower(data); } void action_raise(union ActionData *data)

@@ -1054,17 +1057,17 @@

void action_unshaderaise(union ActionData *data) { if (data->client.any.c->shaded) - action_run_string("Unshade", data->client.any.c); + action_unshade(data); else - action_run_string("Raise", data->client.any.c); + action_raise(data); } void action_shadelower(union ActionData *data) { if (data->client.any.c->shaded) - action_run_string("Lower", data->client.any.c); + action_lower(data); else - action_run_string("Shade", data->client.any.c); + action_shade(data); } void action_lower(union ActionData *data)