The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Alt-tab cursor bug?
buginator
Guest

Greetings all, we have a issue with SDL 1.2.14 in that, when the user
alt-tabs away from the game (full screen mode obviously), the mouse
pointer on the desktop gets stuck in the top left corner, and you
can't move it away from there. The only fix is alt-tab back into the
game, and then quit the game.

When the same game is made using SDL 1.2.13, then we don't have that
issue at all.

This is going on when we do SDL_ShowCursor(SDL_DISABLE); to disable
the 'hardware' cursor, to enable our software ones.

If we don't do that call, then it works as it should, but then we
can't have colored cursors with SDL 1.2.14.


Can anyone think of anything that would cause such behavior between
SDL 1.2.13 & 1.2.14 ?
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Alt-tab cursor bug?
Ronald Lamprecht
Guest

Hi,

21.02.2010 07:38, buginator wrote:
Quote:
Greetings all, we have a issue with SDL 1.2.14 in that, when the user
alt-tabs away from the game (full screen mode obviously), the mouse
pointer on the desktop gets stuck in the top left corner, and you
can't move it away from there. The only fix is alt-tab back into the
game, and then quit the game.

When the same game is made using SDL 1.2.13, then we don't have that
issue at all.

This is going on when we do SDL_ShowCursor(SDL_DISABLE); to disable
the 'hardware' cursor, to enable our software ones.

If we don't do that call, then it works as it should, but then we
can't have colored cursors with SDL 1.2.14.


Can anyone think of anything that would cause such behavior between
SDL 1.2.13& 1.2.14 ?

This bug has been reported, located by me and fixed with the help of Tim
and Sam in the 1.2.14 aftermath
(http://bugzilla.libsdl.org/show_bug.cgi?id=849). Please test your
application with an up to date SDL 1.2 subversion branch compilation and
report remaining problems.

In fact I compiled such a patched 1.2.14 SDL version for the Windows 7
compilation of Enigma
(http://www.nongnu.org/enigma/download.html#stable). You may give the
included sdl.dll a try, if you do not want to compile SDL by yourself.

Please vote for a 1.2.15 SDL release.

Greets,

Ronald
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Alt-tab cursor bug?
buginator
Guest

On 2/21/10, Ronald Lamprecht wrote:
Quote:
21.02.2010 07:38, buginator wrote:

Quote:
Greetings all, we have a issue with SDL 1.2.14 in that, when the user
alt-tabs away from the game (full screen mode obviously), the mouse
pointer on the desktop gets stuck in the top left corner, and you
can't move it away from there. The only fix is alt-tab back into the
game, and then quit the game.

When the same game is made using SDL 1.2.13, then we don't have that
issue at all.

This is going on when we do SDL_ShowCursor(SDL_DISABLE); to disable
the 'hardware' cursor, to enable our software ones.

If we don't do that call, then it works as it should, but then we
can't have colored cursors with SDL 1.2.14.


Can anyone think of anything that would cause such behavior between
SDL 1.2.13& 1.2.14 ?


This bug has been reported, located by me and fixed with the help of Tim
and Sam in the 1.2.14 aftermath
(http://bugzilla.libsdl.org/show_bug.cgi?id=849). Please
test your application with an up to date SDL 1.2 subversion branch
compilation and report remaining problems.

In fact I compiled such a patched 1.2.14 SDL version for the Windows 7
compilation of Enigma
(http://www.nongnu.org/enigma/download.html#stable). You
may give the included sdl.dll a try, if you do not want to compile SDL by
yourself.

Please vote for a 1.2.15 SDL release.


Yes, this indeed fixes the problem.

We really need a 1.2.15 release to fix this!


Thanks for the heads up Ronald !
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org