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 bf73f78eea
commit a181bee465
1 changed files with 1 additions and 0 deletions

View File

@ -507,6 +507,7 @@ event_handle_leavenotify(xcb_leave_notify_event_t *ev)
{ {
luaA_object_push(globalconf.L, c); luaA_object_push(globalconf.L, c);
luaA_object_emit_signal(globalconf.L, -1, "mouse::leave", 0); luaA_object_emit_signal(globalconf.L, -1, "mouse::leave", 0);
lua_pop(globalconf.L, 1);
} }
lua_pushnil(globalconf.L); lua_pushnil(globalconf.L);