X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fopenbox.c;h=6645f5bbf8bf9e2d899fbe8f51675a42d6bb9e67;hb=d8268296fb82a0395e1bceadfc1ab196f488f955;hp=4bc12bcd3594bbeea7b70daa6b6c0a0a67a0452b;hpb=56dc0446cd8a9a2685e1ffadb58b781e52e1a95a;p=chaz%2Fopenbox diff --git a/openbox/openbox.c b/openbox/openbox.c index 4bc12bcd..6645f5bb 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -147,23 +147,22 @@ int main(int argc, char **argv) config_startup(); render_startup(); font_startup(); - themerc_startup(); - engine_startup(themerc_engine); + plugin_startup(); + + /* load the plugins specified in the pluginrc */ + plugin_loadall(); + /* parse/load user options */ + config_parse(); + + engine_startup(); event_startup(); screen_startup(); focus_startup(); client_startup(); grab_startup(); - plugin_startup(); - - config_parse(); - /* XXX load all plugins!! */ - plugin_open("focus"); - plugin_open("keyboard"); - plugin_open("mouse"); - plugin_open("placement"); - plugin_open("resistance"); + /* call startup for all the plugins */ + plugin_startall(); /* get all the existing windows */ client_manage_all();