From 9eab892124176d6ee9a7e746b14f6fc4bdbdfc5b Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 17 Feb 2016 18:52:35 +0100 Subject: [PATCH] Fix unbalance Lua stack usage in event_handle_leavenotify() Commit 42e00819584c removed a call to lua_pop(L,1) that was still necessary. This commit adds that call again. Fixes: https://github.com/awesomeWM/awesome/issues/703 Signed-off-by: Uli Schlachter --- event.c | 1 + 1 file changed, 1 insertion(+) diff --git a/event.c b/event.c index e2aeafd7..f5272333 100644 --- a/event.c +++ b/event.c @@ -532,6 +532,7 @@ event_handle_leavenotify(xcb_leave_notify_event_t *ev) { luaA_object_push(L, c); luaA_object_emit_signal(L, -1, "mouse::leave", 0); + lua_pop(L, 1); } lua_pushnil(L);