Fix unbalance Lua stack usage in event_handle_leavenotify()

Commit 42e0081958 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 <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-02-17 18:52:35 +01:00
parent 68691ff818
commit 9eab892124
1 changed files with 1 additions and 0 deletions

View File

@ -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);