]> Dogcows Code - chaz/openbox/commitdiff
Add a FocusToBottom action which moves the client to the bottom of the focus order...
authorMikael Magnusson <mikachu@comhem.se>
Fri, 11 Mar 2005 21:49:54 +0000 (21:49 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Fri, 11 Mar 2005 21:49:54 +0000 (21:49 +0000)
data/rc.xsd
openbox/action.c
openbox/action.h

index 8acc9b4a566416f5f911cb4a62b89ad098e3751e..7d8119e2100c94eed259c7cf805c6287906329c1 100644 (file)
             <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"/>
index d83926b7740b4e4613f5aae648787eef99d66b90..fa41e788670af3f2608854408ec9679393ca6e04 100644 (file)
@@ -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;
index 035828751dc11ee0ef89ef5532d531d526dccc18..3ef5aa734a3cc8a5fb83c5ceb02b5669187f1265 100644 (file)
@@ -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);
This page took 0.038337 seconds and 4 git commands to generate.