]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
parse <here>true</here> for the activate action
[chaz/openbox] / openbox / action.c
index 7e8da744e604a289d2527f850d38e227e986df8d..01176294ac2275faadec53949400b1b8ec38562a 100644 (file)
@@ -716,6 +716,9 @@ ObAction *action_parse(xmlDocPtr doc, xmlNodePtr node)
             } else if (act->func == action_send_to_desktop_dir) {
                 if ((n = parse_find_node("wrap", node->xmlChildrenNode)))
                     act->data.sendtodir.wrap = parse_bool(doc, n);
+            } else if (act->func == action_activate) {
+                if ((n = parse_find_node("here", node->xmlChildrenNode)))
+                    act->data.activate.here = parse_bool(doc, n);
             }
         }
         g_free(actname);
This page took 0.021291 seconds and 4 git commands to generate.