hooks: fix mouseover compat

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-05 12:00:26 +01:00
parent 6ad02f9836
commit e43b15ec89
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ luaA_hooks_mouse_enter(lua_State *L)
* \lparam A function to call each time a client gets mouse over it.
*/
static int
luaA_hooks_mouse_over(lua_State *L)
luaA_hooks_mouseover(lua_State *L)
{
deprecate(L);
return luaA_hooks_mouse_enter(L);
@ -201,6 +201,6 @@ const struct luaL_reg awesome_hooks_lib[] =
{ "tagged", luaA_hooks_tagged },
{ "timer", luaA_hooks_timer },
/* deprecated */
{ "mouse_over", luaA_hooks_mouse_over },
{ "mouseover", luaA_hooks_mouseover },
{ NULL, NULL }
};