From 5e282dae08be3b900e0337efa0fae8f3ffa92cd7 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 1 Oct 2012 22:39:39 -0400 Subject: Remove now-unused config_place_center option. The new LeastOverlap placement doesn't use this option, and it kind of defeats the purpose of the algorithm. --- openbox/config.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'openbox/config.c') diff --git a/openbox/config.c b/openbox/config.c index d5ff8c45..f7cbc3b9 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -37,7 +37,6 @@ gboolean config_focus_under_mouse; gboolean config_unfocus_leave; ObPlacePolicy config_place_policy; -gboolean config_place_center; ObPlaceMonitor config_place_monitor; guint config_primary_monitor_index; @@ -598,8 +597,6 @@ static void parse_placement(xmlNodePtr node, gpointer d) if ((n = obt_xml_find_node(node, "policy"))) if (obt_xml_node_contains(n, "UnderMouse")) config_place_policy = OB_PLACE_POLICY_MOUSE; - if ((n = obt_xml_find_node(node, "center"))) - config_place_center = obt_xml_node_bool(n); if ((n = obt_xml_find_node(node, "monitor"))) { if (obt_xml_node_contains(n, "active")) config_place_monitor = OB_PLACE_MONITOR_ACTIVE; @@ -1027,7 +1024,6 @@ void config_startup(ObtXmlInst *i) obt_xml_register(i, "focus", parse_focus, NULL); config_place_policy = OB_PLACE_POLICY_SMART; - config_place_center = TRUE; config_place_monitor = OB_PLACE_MONITOR_PRIMARY; config_primary_monitor_index = 1; -- cgit v1.2.3