Add a FocusToBottom action which moves the client to the bottom of the focus order stack

This commit is contained in:
Mikael Magnusson 2005-03-11 21:49:54 +00:00
parent 2290916e2e
commit 916e24d9c4
3 changed files with 13 additions and 0 deletions

View file

@ -316,6 +316,7 @@
<xs:enumeration value="Execute"/> <xs:enumeration value="Execute"/>
<xs:enumeration value="Exit"/> <xs:enumeration value="Exit"/>
<xs:enumeration value="Focus"/> <xs:enumeration value="Focus"/>
<xs:enumeration value="FocusToBottom"/>
<xs:enumeration value="GrowToEdgeEast"/> <xs:enumeration value="GrowToEdgeEast"/>
<xs:enumeration value="GrowToEdgeNorth"/> <xs:enumeration value="GrowToEdgeNorth"/>
<xs:enumeration value="GrowToEdgeSouth"/> <xs:enumeration value="GrowToEdgeSouth"/>

View file

@ -471,6 +471,11 @@ ActionString actionstrings[] =
action_iconify, action_iconify,
setup_client_action setup_client_action
}, },
{
"focustobottom",
action_focus_order_to_bottom,
setup_client_action
},
{ {
"raiselower", "raiselower",
action_raiselower, action_raiselower,
@ -1052,6 +1057,11 @@ void action_iconify(union ActionData *data)
client_action_end(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) void action_raiselower(union ActionData *data)
{ {
ObClient *c = data->client.any.c; ObClient *c = data->client.any.c;

View file

@ -230,6 +230,8 @@ void action_unfocus(union ActionData *data);
/* ClientAction */ /* ClientAction */
void action_iconify(union ActionData *data); void action_iconify(union ActionData *data);
/* ClientAction */ /* ClientAction */
void action_focus_order_to_bottom(union ActionData *data);
/* ClientAction */
void action_raiselower(union ActionData *data); void action_raiselower(union ActionData *data);
/* ClientAction */ /* ClientAction */
void action_raise(union ActionData *data); void action_raise(union ActionData *data);