Rdesktop on SDL

Hi,
I ported Rdesktop on SDL1.2.13.Rdesktop is the client for Windows NT/2000/XP Terminal Server.It works well normally.But when I move mouse pointer over a win menu,it may display a white box under the pointer sometimes.and sometimes,when pop menu disappear,The mouse pointer will keep on the screen.some time later ,it will cause many mouse pointer on the screen.I don’t know why.
who can help me?

Do you draw the mouse cursor yourself? What operating system are you
running Rdesktop on?

2009/8/6 s-linux(163) <s-linux at 163.com>> Hi,

I ported Rdesktop on SDL1.2.13.Rdesktop is the client for Windows

NT/2000/XP Terminal Server.It works well normally.But when I move mouse
pointer over a win menu,it may display a white box under the pointer
sometimes.and sometimes,when pop menu disappear,The mouse pointer will keep
on the screen.some time later ,it will cause many mouse pointer on the
screen.I don’t know why.
who can help me?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Thanks for reply. My operating system running rdesktop is linux.
I didn’t draw the mouse cursor myself.The code is:

SDL_Cursor*
ui_create_cursor(unsigned int x, unsigned int y, int width, int height,
uint8 * andmask, uint8 * xormask)
{
return SDL_GetCursor();
}

void
ui_set_cursor(SDL_Cursor *cursor)
{

SDL_SetCursor(cursor);
}