]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.c
when getting the state, grab the above/below from the max amongst other members of...
[chaz/openbox] / openbox / openbox.c
index 39c02035a988083d2edcfdae0cac73e47a218dc3..3ffaded81ce4127ba7493a97ee54058b908fa66a 100644 (file)
@@ -132,8 +132,6 @@ int main(int argc, char **argv)
     if (ob_rr_inst == NULL)
         ob_exit_with_error("Failed to initialize the render library.");
 
-    /* XXX fork self onto other screens */
-     
     XSynchronize(ob_display, xsync);
 
     /* check for locale support */
@@ -207,7 +205,7 @@ int main(int argc, char **argv)
                 if (parse_load_rc(&doc, &node))
                     parse_tree(i, doc, node->xmlChildrenNode);
                 /* we're done with parsing now, kill it */
-                xmlFreeDoc(doc);
+                parse_close(doc);
                 parse_shutdown(i);
             }
 
@@ -289,6 +287,8 @@ int main(int argc, char **argv)
         } while (reconfigure);
     }
 
+    XSync(ob_display, FALSE);
+
     RrThemeFree(ob_rr_theme);
     RrInstanceFree(ob_rr_inst);
 
This page took 0.021149 seconds and 4 git commands to generate.