}
if (p->module == NULL) {
+ g_warning(g_module_error());
g_free(p);
return NULL;
}
if (io == NULL) {
/* load the default plugins */
- plugin_open("focus");
plugin_open("keyboard");
plugin_open("mouse");
plugin_open("placement");
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);