From e5b94e6072287d39a777a3cedd0f10a66c58a2b5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 21 Jun 2007 22:50:16 +0000 Subject: some first structural stuff for new actions --- openbox/openbox.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbox/openbox.c') diff --git a/openbox/openbox.c b/openbox/openbox.c index ae1232fa..db14afb0 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -28,6 +28,7 @@ #include "xerror.h" #include "prop.h" #include "screen.h" +#include "actions.h" #include "startupnotify.h" #include "focus.h" #include "focus_cycle.h" @@ -241,6 +242,8 @@ gint main(gint argc, gchar **argv) /* start up config which sets up with the parser */ config_startup(i); + /* register all the available actions */ + actions_startup(reconfigure); /* parse/load user options */ if (parse_load_rc(NULL, &doc, &node)) { @@ -373,6 +376,7 @@ gint main(gint argc, gchar **argv) sn_shutdown(reconfigure); window_shutdown(reconfigure); event_shutdown(reconfigure); + actions_shutdown(reconfigure); config_shutdown(); modkeys_shutdown(reconfigure); } while (reconfigure); -- cgit v1.2.3