diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2008-01-27 21:03:55 +0100 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2008-01-27 21:03:55 +0100 |
| commit | d7837051412b03ef167744d26043c0413614f85b (patch) | |
| tree | 8a8fd6f384e760aab164dbf4e527322b34771f10 | |
| parent | dd740b5562806a6b4692c938ad0e903ad89b6193 (diff) | |
Change <placeOn> to <monitor>.
| -rw-r--r-- | data/rc.xml | 2 | ||||
| -rw-r--r-- | data/rc.xsd | 2 | ||||
| -rw-r--r-- | openbox/config.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/data/rc.xml b/data/rc.xml index ccaa8494..d164660d 100644 --- a/data/rc.xml +++ b/data/rc.xml @@ -35,7 +35,7 @@ <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 --> diff --git a/data/rc.xsd b/data/rc.xsd index bd4c0cb6..bc8a8fe6 100644 --- a/data/rc.xsd +++ b/data/rc.xsd @@ -54,7 +54,7 @@ </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> diff --git a/openbox/config.c b/openbox/config.c index 5e6387bc..69904d85 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -491,7 +491,7 @@ static void parse_placement(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, 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)) |
