From ad54c6ae17672db93fecbc0fb345c9263adcae57 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 3 Aug 2011 17:03:30 -0400 Subject: [PATCH] register filters on startup TODO: 1. write filters for everything in actions/if.c 2. rm actions/if.c 3. make action(s) to change config options? includes key and mouse binding 4. rm -rf *xml*? --- openbox/openbox.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openbox/openbox.c b/openbox/openbox.c index cdd5566a..8ffe11a3 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -26,6 +26,7 @@ #include "client.h" #include "screen.h" #include "action.h" +#include "action_filter.h" #include "startupnotify.h" #include "focus.h" #include "focus_cycle.h" @@ -235,8 +236,9 @@ gint main(gint argc, gchar **argv) of the rc */ i = obt_xml_instance_new(); - /* register all the available actions */ + /* register all the available actions and filters */ action_startup(reconfigure); + action_filter_startup(reconfigure); /* start up config which sets up with the parser */ config_startup(i); @@ -407,6 +409,7 @@ gint main(gint argc, gchar **argv) sn_shutdown(reconfigure); event_shutdown(reconfigure); config_shutdown(); + action_filter_shutdown(reconfigure); action_shutdown(reconfigure); } while (reconfigure); } -- 2.34.1