summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-14 05:58:11 +0000
committerDana Jansens <danakj@orodu.net>2003-08-14 05:58:11 +0000
commit237a12749f30287ee07420a62e71b442fe0bec15 (patch)
treec19d8ee244826c9919b381340f363d7f3a6bfe7b /openbox
parent888c3d1f6ae80c3e2d8ab37ebead8a96a8d0a565 (diff)
shutdown the menus before the plugins are unloaded
Diffstat (limited to 'openbox')
-rw-r--r--openbox/openbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 5c28fcf6..6656304a 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -266,6 +266,7 @@ int main(int argc, char **argv)
dock_remove_all();
client_unmanage_all();
+ menu_shutdown(); /* destroy menus before unloading plugins */
plugin_shutdown(); /* calls all the plugins' shutdown functions */
mouse_shutdown();
keyboard_shutdown();
@@ -275,7 +276,6 @@ int main(int argc, char **argv)
screen_shutdown();
focus_shutdown();
moveresize_shutdown();
- menu_shutdown();
window_shutdown();
grab_shutdown();
event_shutdown();