mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
luaa: add compatibility for mouse_add
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
207df8e2b0
commit
6ad02f9836
1 changed files with 11 additions and 0 deletions
11
luaa.c
11
luaa.c
|
@ -691,6 +691,15 @@ luaA_spawn(lua_State *L)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/** Deprecated function, does nothing.
|
||||
*/
|
||||
static int
|
||||
luaA_mouse_add(lua_State *L)
|
||||
{
|
||||
deprecate(L);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/** Initialize the Lua VM
|
||||
*/
|
||||
void
|
||||
|
@ -721,6 +730,8 @@ luaA_init(void)
|
|||
{ "font", luaA_font },
|
||||
{ "colors", luaA_colors },
|
||||
{ "conffile", luaA_conffile },
|
||||
/* deprecated */
|
||||
{ "mouse_add", luaA_mouse_add },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue