X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fplugin.c;h=747bde6f1ab47a18f0ffa9f4b277ac93c008e568;hb=d3dd25a55cf7e1837eaf45b04ed2d20392eb559b;hp=a5055de9a1088a27dd2a227219b277d605d6000f;hpb=a8a4a2cca30602b66b7a7f68bb9f3fffd34e92c9;p=chaz%2Fopenbox diff --git a/openbox/plugin.c b/openbox/plugin.c index a5055de9..747bde6f 100644 --- a/openbox/plugin.c +++ b/openbox/plugin.c @@ -1,12 +1,8 @@ +#include "plugins/interface.h" + #include #include -typedef void (*PluginSetupConfig)(); -typedef void (*PluginStartup)(); -typedef void (*PluginShutdown)(); -typedef void *(*PluginCreate)(/* TODO */); -typedef void (*PluginDestroy)(void *); - typedef struct { GModule *module; char *name; @@ -164,6 +160,9 @@ void plugin_loadall() plugin_open("mouse"); plugin_open("placement"); plugin_open("resistance"); + + /* XXX rm me when the parser loads me magically */ + plugin_open("client_menu"); } else { /* load the plugins in the rc file */ while (g_io_channel_read_line(io, &name, NULL, NULL, &err) ==