diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-04 22:47:36 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-04 22:47:36 +0000 |
| commit | d77ac21a62d4e57dd39de6a707ca1d278cbb1e0a (patch) | |
| tree | 3046d2763d88a7e857ecc5b49ea7306e3a70f1aa | |
| parent | c83ae0a208974cfe33cbd5b90dee5016171cde38 (diff) | |
reorder startup so that grabs are set up before parsing teh rc
| -rw-r--r-- | openbox/openbox.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c index cd95a5d6..e2a4de3f 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -152,6 +152,8 @@ int main(int argc, char **argv) config_startup(); render_startup(); font_startup(); + event_startup(); + grab_startup(); plugin_startup(); /* startup the parsing so plugins can register sections of the rc */ @@ -166,11 +168,9 @@ int main(int argc, char **argv) parse_shutdown(); engine_startup(); - event_startup(); screen_startup(); focus_startup(); client_startup(); - grab_startup(); /* call startup for all the plugins */ plugin_startall(); @@ -186,12 +186,12 @@ int main(int argc, char **argv) client_unmanage_all(); plugin_shutdown(); /* calls all the plugins' shutdown functions */ - grab_shutdown(); client_shutdown(); focus_shutdown(); screen_shutdown(); - event_shutdown(); engine_shutdown(); + grab_shutdown(); + event_shutdown(); render_shutdown(); config_shutdown(); timer_shutdown(); |
