widget: changing mouse enter/leave does not need redraw

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-01-19 17:15:58 +01:00
parent 3aa407b742
commit 2b2aec0725
1 changed files with 2 additions and 2 deletions

View File

@ -482,10 +482,10 @@ luaA_widget_newindex(lua_State *L)
break;
case A_TK_MOUSE_ENTER:
luaA_registerfct(L, 3, &(*widget)->mouse_enter);
break;
return 0;
case A_TK_MOUSE_LEAVE:
luaA_registerfct(L, 3, &(*widget)->mouse_leave);
break;
return 0;
default:
return (*widget)->newindex ? (*widget)->newindex(L, token) : 0;
}