add focus actions
This commit is contained in:
parent
7ea5ffea73
commit
597fad9d8d
2 changed files with 14 additions and 0 deletions
|
@ -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)
|
void action_iconify(union ActionData *data)
|
||||||
{
|
{
|
||||||
client_iconify(data->client.c, TRUE, TRUE);
|
client_iconify(data->client.c, TRUE, TRUE);
|
||||||
|
|
|
@ -90,6 +90,10 @@ void action_free(Action *a);
|
||||||
/* Execute */
|
/* Execute */
|
||||||
void action_execute(union ActionData *data);
|
void action_execute(union ActionData *data);
|
||||||
/* ClientAction */
|
/* ClientAction */
|
||||||
|
void action_focus(union ActionData *data);
|
||||||
|
/* ClientAction */
|
||||||
|
void action_unfocus(union ActionData *data);
|
||||||
|
/* ClientAction */
|
||||||
void action_iconify(union ActionData *data);
|
void action_iconify(union ActionData *data);
|
||||||
/* ClientAction */
|
/* ClientAction */
|
||||||
void action_raise(union ActionData *data);
|
void action_raise(union ActionData *data);
|
||||||
|
|
Loading…
Reference in a new issue