X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fopenbox.c;h=fd4973da4514dbb17a6245a10d6a142a4f3a91b6;hb=598c5d6c07118517b47d7c416a79dc9743271aa8;hp=5c1e017828138b67a2bb6ac424447fcd3034143a;hpb=bfea000a7407e51b5659590415e410a47f6f046b;p=chaz%2Fopenbox diff --git a/openbox/openbox.c b/openbox/openbox.c index 5c1e0178..fd4973da 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -8,6 +8,7 @@ #include "focus.h" #include "extensions.h" #include "gettext.h" +#include "grab.h" #include "engine.h" #include "themerc.h" #include "plugin.h" @@ -137,10 +138,13 @@ int main(int argc, char **argv) screen_startup(); focus_startup(); client_startup(); + grab_startup(); plugin_startup(); /* XXX load all plugins!! */ plugin_open("focus"); + plugin_open("keyboard"); + plugin_open("mouse"); /* get all the existing windows */ client_manage_all(); @@ -153,7 +157,8 @@ int main(int argc, char **argv) client_unmanage_all(); - plugin_shutdown(); + plugin_shutdown(); /* calls all the plugins' shutdown functions */ + grab_shutdown(); client_shutdown(); screen_shutdown(); event_shutdown();