hooks: fix mouseover compat
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
6ad02f9836
commit
e43b15ec89
4
hooks.c
4
hooks.c
|
@ -96,7 +96,7 @@ luaA_hooks_mouse_enter(lua_State *L)
|
||||||
* \lparam A function to call each time a client gets mouse over it.
|
* \lparam A function to call each time a client gets mouse over it.
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
luaA_hooks_mouse_over(lua_State *L)
|
luaA_hooks_mouseover(lua_State *L)
|
||||||
{
|
{
|
||||||
deprecate(L);
|
deprecate(L);
|
||||||
return luaA_hooks_mouse_enter(L);
|
return luaA_hooks_mouse_enter(L);
|
||||||
|
@ -201,6 +201,6 @@ const struct luaL_reg awesome_hooks_lib[] =
|
||||||
{ "tagged", luaA_hooks_tagged },
|
{ "tagged", luaA_hooks_tagged },
|
||||||
{ "timer", luaA_hooks_timer },
|
{ "timer", luaA_hooks_timer },
|
||||||
/* deprecated */
|
/* deprecated */
|
||||||
{ "mouse_over", luaA_hooks_mouse_over },
|
{ "mouseover", luaA_hooks_mouseover },
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue