1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-25 04:06:03 +00:00

Don't prefix mouse hook with conky_ twice.

This fixes #1438.
This commit is contained in:
Brenden Matthews 2023-02-28 22:29:02 -05:00 committed by Brenden Matthews
parent 2344abb1c7
commit 55947d0182

View File

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