]> Dogcows Code - chaz/openbox/commitdiff
parse <here>true</here> for the activate action
authorDana Jansens <danakj@orodu.net>
Thu, 14 Aug 2003 05:56:43 +0000 (05:56 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 14 Aug 2003 05:56:43 +0000 (05:56 +0000)
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.022245 seconds and 4 git commands to generate.