From bec9e24e7ff6bc98f8b3439a8426485ef8d19eb8 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Tue, 9 Feb 2010 13:58:06 +0100 Subject: [PATCH] client_focus_update(): Balance the lua stack There is a push 15 lines before the push that is removed here, but the client that is pushed there was never popped. Bad. Fix this by letting luaA_class_emit_signal() do the needed pop for us. Signed-off-by: Uli Schlachter Signed-off-by: Julien Danjou --- client.c | 1 - 1 file changed, 1 deletion(-) diff --git a/client.c b/client.c index 4401b101..075df434 100644 --- a/client.c +++ b/client.c @@ -431,7 +431,6 @@ client_focus_update(client_t *c) luaA_dofunction_from_registry(globalconf.L, globalconf.hooks.focus, 1, 0); } - luaA_object_push(globalconf.L, c); luaA_class_emit_signal(globalconf.L, &client_class, "focus", 1); }