From: Mikael Magnusson Date: Fri, 11 Mar 2005 21:49:54 +0000 (+0000) Subject: Add a FocusToBottom action which moves the client to the bottom of the focus order... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=916e24d9c4e86f878e677512d82647d6038a2dbe;p=chaz%2Fopenbox Add a FocusToBottom action which moves the client to the bottom of the focus order stack --- diff --git a/data/rc.xsd b/data/rc.xsd index 8acc9b4a..7d8119e2 100644 --- a/data/rc.xsd +++ b/data/rc.xsd @@ -316,6 +316,7 @@ + diff --git a/openbox/action.c b/openbox/action.c index d83926b7..fa41e788 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -471,6 +471,11 @@ ActionString actionstrings[] = action_iconify, setup_client_action }, + { + "focustobottom", + action_focus_order_to_bottom, + setup_client_action + }, { "raiselower", action_raiselower, @@ -1052,6 +1057,11 @@ void action_iconify(union ActionData *data) client_action_end(data); } +void action_focus_order_to_bottom(union ActionData *data) +{ + focus_order_to_bottom(data->client.any.c); +} + void action_raiselower(union ActionData *data) { ObClient *c = data->client.any.c; diff --git a/openbox/action.h b/openbox/action.h index 03582875..3ef5aa73 100644 --- a/openbox/action.h +++ b/openbox/action.h @@ -230,6 +230,8 @@ void action_unfocus(union ActionData *data); /* ClientAction */ void action_iconify(union ActionData *data); /* ClientAction */ +void action_focus_order_to_bottom(union ActionData *data); +/* ClientAction */ void action_raiselower(union ActionData *data); /* ClientAction */ void action_raise(union ActionData *data);