]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
create actions from string names
[chaz/openbox] / openbox / action.c
index 2265b4662cddc8d031b949a7ded071580ebd72ac..4cd751071037ded7b412df70d8d545a1bb44419e 100644 (file)
@@ -98,6 +98,8 @@ Action *action_from_string(char *name)
         a = action_new(action_send_to_previous_desktop);
         a->data.sendtonextprev.wrap = TRUE;
         a->data.sendtonextprev.follow = TRUE;
+    } else if (!g_ascii_strcasecmp(name, "desktop")) {
+        a = action_new(action_desktop);
     } else if (!g_ascii_strcasecmp(name, "nextdesktop")) {
         a = action_new(action_next_desktop);
         a->data.nextprevdesktop.wrap = FALSE;
This page took 0.023661 seconds and 4 git commands to generate.