diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-02-29 23:16:31 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-02-29 23:37:57 -0500 |
| commit | db781556d63d1a50bd1b1b4b6b5423ef703bf2c7 (patch) | |
| tree | 8418803f72b28ce910d6e11f59237aa8a1b4089f /openbox/openbox.c | |
| parent | 173b9b764887929b7ff5d30b3e33f0602b0afda6 (diff) | |
Add a hook system. They hooks don't run yet but they parse from the config file.
Diffstat (limited to 'openbox/openbox.c')
| -rw-r--r-- | openbox/openbox.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c index 49587abc..79b080d2 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -42,6 +42,7 @@ #include "config.h" #include "ping.h" #include "prompt.h" +#include "hooks.h" #include "gettext.h" #include "render/render.h" #include "render/theme.h" @@ -297,6 +298,7 @@ gint main(gint argc, gchar **argv) /* focus_backup is used for stacking, so this needs to come before anything that calls stacking_add */ sn_startup(reconfigure); + hooks_startup(reconfigure); window_startup(reconfigure); focus_startup(reconfigure); focus_cycle_startup(reconfigure); @@ -373,6 +375,7 @@ gint main(gint argc, gchar **argv) focus_cycle_shutdown(reconfigure); focus_shutdown(reconfigure); window_shutdown(reconfigure); + hooks_shutdown(reconfigure); sn_shutdown(reconfigure); event_shutdown(reconfigure); config_shutdown(); |
