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:
parent
bf73f78eea
commit
a181bee465
1
event.c
1
event.c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue