]> Dogcows Code - chaz/openbox/commitdiff
Change <placeOn> to <monitor>.
authorMikael Magnusson <mikachu@comhem.se>
Sun, 27 Jan 2008 20:03:55 +0000 (21:03 +0100)
committerMikael Magnusson <mikachu@comhem.se>
Sun, 27 Jan 2008 20:03:55 +0000 (21:03 +0100)
data/rc.xml
data/rc.xsd
openbox/config.c

index ccaa8494aee802affaaa3a0b4b31e01a914fd60d..d164660d3ec2760bd10e951417c5ceb1e9d18071 100644 (file)
@@ -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 -->
index bd4c0cb638ff052f2f585935b14ecb3f9ebc6657..bc8a8fe6a7ea72c94333759c4a5d62d0f2be1923 100644 (file)
@@ -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>
index 5e6387bc30cf34723fd4ca7957b8064fcb58dbcd..69904d85d5b8cd9b5e39988e1fa9dc8f6cef55ea 100644 (file)
@@ -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))
This page took 0.034962 seconds and 4 git commands to generate.