]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
rename the 'root' context to 'desktop'
[chaz/openbox] / openbox / action.c
index 01176294ac2275faadec53949400b1b8ec38562a..4e3b83ba9cec36724437b106bffd4ac79f48f964 100644 (file)
@@ -334,6 +334,11 @@ ActionString actionstrings[] =
         action_iconify,
         NULL
     },
+    {
+        "raiselower",
+        action_raiselower,
+        NULL
+    },
     {
         "raise",
         action_raise,
@@ -767,6 +772,16 @@ void action_iconify(union ActionData *data)
         client_iconify(data->client.c, TRUE, TRUE);
 }
 
+void action_raiselower(union ActionData *data)
+{
+    if (data->client.c) {
+        if (data->client.c->frame->obscured)
+            stacking_raise(CLIENT_AS_WINDOW(data->client.c));
+        else
+            stacking_lower(CLIENT_AS_WINDOW(data->client.c));
+    }
+}
+
 void action_raise(union ActionData *data)
 {
     if (data->client.c)
This page took 0.021849 seconds and 4 git commands to generate.