From fb9aefa85a7e330cba5fc7180ff3a6b679a2f021 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 25 Aug 2009 16:30:19 +0200 Subject: [PATCH] add exit signal Signed-off-by: Julien Danjou --- awesome.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awesome.c b/awesome.c index 08896154..dd0dceeb 100644 --- a/awesome.c +++ b/awesome.c @@ -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 */