]> Dogcows Code - chaz/openbox/blobdiff - openbox/plugin.c
use the new ptr cursor defn
[chaz/openbox] / openbox / plugin.c
index 57d2f2bce7d664ad3d96cf17b445016806c02bc3..c3e21ec49c81fcf29a60ab7d963d36c5653e0cf1 100644 (file)
@@ -140,7 +140,6 @@ void plugin_loadall()
 
     if (io == NULL) {
         /* load the default plugins */
-        plugin_open("focus");
         plugin_open("keyboard");
         plugin_open("mouse");
         plugin_open("placement");
@@ -150,7 +149,8 @@ void plugin_loadall()
         while (g_io_channel_read_line(io, &name, NULL, NULL, &err) ==
                G_IO_STATUS_NORMAL) {
             g_strstrip(name);
-            plugin_open(name);
+            if (name[0] != '\0' && name[0] != '#')
+                plugin_open(name);
             g_free(name);
         }
         g_io_channel_unref(io);
This page took 0.019909 seconds and 4 git commands to generate.