add exit signal

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-08-25 16:30:19 +02:00
parent 8389b8c5d6
commit fb9aefa85a
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,8 @@ awesome_atexit(void)
if(globalconf.hooks.exit != LUA_REFNIL)
luaA_dofunction_from_registry(globalconf.L, globalconf.hooks.exit, 0, 0);
signal_object_emit(globalconf.L, &global_signals, "exit", 0);
a_dbus_cleanup();
/* reparent systray windows, otherwise they may die with their master */