Change <placeOn> to <monitor>.
Mikael Magnusson mikachu@comhem.se
3 files changed,
3 insertions(+),
3 deletions(-)
M
data/rc.xml
→
data/rc.xml
@@ -35,7 +35,7 @@ <!-- 'Smart' or 'UnderMouse' -->
<center>yes</center> <!-- whether to place windows in the center of the free area found or the top left corner --> - <placeOn>Any</placeOn> + <monitor>Any</monitor> <!-- with Smart placement on a multi-monitor system, try to place new windows on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where the active window is -->
M
data/rc.xsd
→
data/rc.xsd
@@ -54,7 +54,7 @@ <xsd:documentation>defines how new windows are placed</xsd:documentation>
</xsd:annotation> <xsd:element name="policy" type="ob:placementpolicy"/> <xsd:element name="center" type="ob:bool"/> - <xsd:element name="placeOn" type="ob:placementmonitor"/> + <xsd:element name="monitor" type="ob:placementmonitor"/> </xsd:complexType> <xsd:complexType name="margins"> <xsd:annotation>
M
openbox/config.c
→
openbox/config.c
@@ -491,7 +491,7 @@ if (parse_contains("UnderMouse", doc, n))
config_place_policy = OB_PLACE_POLICY_MOUSE; if ((n = parse_find_node("center", node))) config_place_center = parse_bool(doc, n); - if ((n = parse_find_node("placeOn", node))) { + if ((n = parse_find_node("monitor", node))) { if (parse_contains("active", doc, n)) config_place_monitor = OB_PLACE_MONITOR_ACTIVE; else if (parse_contains("mouse", doc, n))