Hi,
I think SDL_WarpMouseInWindow(…) has a problem under WinXP when the
mouse is not visible.
The call of SDL_WarpMouseInWindow(…) has no effect. Under Win7
everything works great (visible and invisible). In older versions of
SDL2 I’m pretty sure it works under XP, too.
Best regards,
Daniel
Many people use and will use WinXP. I thinks thats not the way SDL
should handle this problem.Am 26.03.2014 20:35, schrieb Jesse Palser:
Hi,
It’s going to die soon.
Windows(R) XP is being buried on April 8th, 2014…
Jesse
On 3/26/2014 3:08 PM, Daniel Knobe wrote:
Hi,
I think SDL_WarpMouseInWindow(…) has a problem under WinXP when the
mouse is not visible.
The call of SDL_WarpMouseInWindow(…) has no effect. Under Win7
everything works great (visible and invisible). In older versions of
SDL2 I’m pretty sure it works under XP, too.
Best regards,
Daniel
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
This email is free from viruses and malware because avast! Antivirus
protection is active.
http://www.avast.com
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Daniel, I also found that SDL_WarpMouseInWindow() is not working fine if your window is scaled.
If you use scaling in your app, please, test and let me know.
Last time I tried was version 2.0.1 .
Thanks
Armando------------------------
Armando Alaminos Bouza
If you scale you have to scale the coordinates yourself, just an f.y.iOn Mar 26, 2014 3:48 PM, “alabouza” wrote:
Daniel, I also found that SDL_WarpMouseInWindow() is not working fine if
your window is scaled.
If you use scaling in your app, please, test and let me know.
Last time I tried was version 2.0.1 .
Thanks
Armando
Armando Alaminos Bouza
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Yes I have a resizeable window. In the old version of my program, the
window was not resizeable, so that could be the problem. So it’s a bug.
To be sure I will test it tommorow.Am 26.03.2014 21:48, schrieb alabouza:
Daniel, I also found that SDL_WarpMouseInWindow() is not working fine
if your window is scaled.
If you use scaling in your app, please, test and let me know.
Last time I tried was version 2.0.1 .
Thanks
Armando
Armando Alaminos Bouza
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org