diff options
| author | Dana Jansens <danakj@orodu.net> | 2012-09-30 21:12:07 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2012-10-06 21:56:56 -0400 |
| commit | dc4cfa94c9cd7bd30cdc87a6e4ab8174d8a9703f (patch) | |
| tree | 5a5edc05f4010d43e41c1f95b600935c839ed388 /openbox/config.c | |
| parent | 4d2ccf19168a4089a6a0de0109610479ec6d5507 (diff) | |
Make LeastOverlap placment replace the behaviour of Smart and address style nits
Diffstat (limited to 'openbox/config.c')
| -rw-r--r-- | openbox/config.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/openbox/config.c b/openbox/config.c index 1a3e6ddf..0d9eb689 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -581,13 +581,9 @@ static void parse_placement(xmlNodePtr node, gpointer d) node = node->children; - if ((n = obt_xml_find_node(node, "policy"))) { + if ((n = obt_xml_find_node(node, "policy"))) if (obt_xml_node_contains(n, "UnderMouse")) config_place_policy = OB_PLACE_POLICY_MOUSE; - else if (obt_xml_node_contains(n, "LeastOverlap")) - config_place_policy = OB_PLACE_POLICY_LEASTOVERLAP; - - } if ((n = obt_xml_find_node(node, "center"))) config_place_center = obt_xml_node_bool(n); if ((n = obt_xml_find_node(node, "monitor"))) { |
