Add a FocusToBottom action which moves the client to the bottom of the focus order stack
This commit is contained in:
parent
2290916e2e
commit
916e24d9c4
3 changed files with 13 additions and 0 deletions
|
@ -316,6 +316,7 @@
|
|||
<xs:enumeration value="Execute"/>
|
||||
<xs:enumeration value="Exit"/>
|
||||
<xs:enumeration value="Focus"/>
|
||||
<xs:enumeration value="FocusToBottom"/>
|
||||
<xs:enumeration value="GrowToEdgeEast"/>
|
||||
<xs:enumeration value="GrowToEdgeNorth"/>
|
||||
<xs:enumeration value="GrowToEdgeSouth"/>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue