mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-15 09:44:04 +00:00
parent
2344abb1c7
commit
55947d0182
@ -496,8 +496,8 @@ bool llua_mouse_hook(const EventT &ev) {
|
||||
if ((lua_L == nullptr) || lua_mouse_hook.get(*state).empty()) {
|
||||
return false;
|
||||
}
|
||||
const std::string func = "conky_" + lua_mouse_hook.get(*state);
|
||||
lua_getglobal(lua_L, func.c_str());
|
||||
const std::string func = lua_mouse_hook.get(*state);
|
||||
lua_getglobal(lua_L, lua_mouse_hook.get(*state).c_str());
|
||||
|
||||
ev.push_lua_table(lua_L);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user