From 5f63189b3b258190100015a880deb268a7ce5a9f Mon Sep 17 00:00:00 2001 From: Grissiom Date: Wed, 20 Mar 2013 16:16:16 +0800 Subject: [PATCH] bsp/simulator: enable mouse motion track in SDL Tested OK in RTGUI repo. --- bsp/simulator/drivers/sdl_fb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bsp/simulator/drivers/sdl_fb.c b/bsp/simulator/drivers/sdl_fb.c index 53779808c..d7ebbc824 100755 --- a/bsp/simulator/drivers/sdl_fb.c +++ b/bsp/simulator/drivers/sdl_fb.c @@ -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: