]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
add the DesktopLast action, props to marius nita for this one
[chaz/openbox] / openbox / action.c
index c5c0e7ed4313d7808e52d6bda89664a2925ee847..d24e81e6f67af0688c45b8a18b5366ed14bf347c 100644 (file)
@@ -594,6 +594,11 @@ ActionString actionstrings[] =
         action_unshow_desktop,
         NULL
     },
+    {
+        "desktoplast",
+        action_desktop_last,
+        NULL
+    },
     {
         "restart",
         action_restart,
@@ -1052,6 +1057,11 @@ void action_send_to_desktop_dir(union ActionData *data)
         screen_set_desktop(d);
 }
 
+void action_desktop_last(union ActionData *data)
+{
+    screen_set_desktop(screen_last_desktop);
+}
+
 void action_toggle_decorations(union ActionData *data)
 {
     ObClient *c = data->client.any.c;
This page took 0.02053 seconds and 4 git commands to generate.