awesome: fix exit hook
Bad cherry-pick. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
37d2b7f2a3
commit
aceab7a39a
|
@ -64,7 +64,7 @@ awesome_atexit(void)
|
||||||
int screen_nbr, nscreens;
|
int screen_nbr, nscreens;
|
||||||
|
|
||||||
if(globalconf.hooks.exit != LUA_REFNIL)
|
if(globalconf.hooks.exit != LUA_REFNIL)
|
||||||
luaA_dofunction_from_registry(globalconf.L, globalconf.hooks.exit, 0, 0);
|
luaA_dofunction(globalconf.L, globalconf.hooks.exit, 0, 0);
|
||||||
|
|
||||||
a_dbus_cleanup();
|
a_dbus_cleanup();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue