bsp/simulator: enable mouse motion track in SDL

Tested OK in RTGUI repo.
This commit is contained in:
Grissiom 2013-03-20 16:16:16 +08:00
parent e4e938dc8e
commit 5f63189b3b
1 changed files with 0 additions and 2 deletions

View File

@ -184,7 +184,6 @@ static void *sdl_loop(void *lpParam)
switch (event.type)
{
case SDL_MOUSEMOTION:
#if 0
{
struct rtgui_event_mouse emouse;
emouse.parent.type = RTGUI_EVENT_MOUSE_MOTION;
@ -200,7 +199,6 @@ static void *sdl_loop(void *lpParam)
/* send event to server */
rtgui_server_post_event(&emouse.parent, sizeof(struct rtgui_event_mouse));
}
#endif
break;
case SDL_MOUSEBUTTONDOWN: