From: Dana Jansens Date: Wed, 19 Mar 2003 06:01:06 +0000 (+0000) Subject: add focus actions X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=597fad9d8d5b7be27cabeeec750ed15f86377a07;p=chaz%2Fopenbox add focus actions --- diff --git a/openbox/action.c b/openbox/action.c index b976a84d..dfcd8d7e 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -36,6 +36,16 @@ void action_execute(union ActionData *data) } } +void action_focus(union ActionData *data) +{ + client_focus(data->client.c); +} + +void action_unfocus (union ActionData *data) +{ + client_unfocus(data->client.c); +} + void action_iconify(union ActionData *data) { client_iconify(data->client.c, TRUE, TRUE); diff --git a/openbox/action.h b/openbox/action.h index 10fa1779..0f277fa8 100644 --- a/openbox/action.h +++ b/openbox/action.h @@ -90,6 +90,10 @@ void action_free(Action *a); /* Execute */ void action_execute(union ActionData *data); /* ClientAction */ +void action_focus(union ActionData *data); +/* ClientAction */ +void action_unfocus(union ActionData *data); +/* ClientAction */ void action_iconify(union ActionData *data); /* ClientAction */ void action_raise(union ActionData *data);