[lugaru] [PATCH] tolerate loss of focus

Ryan Hanson hansonry at gmail.com
Fri May 28 00:00:33 EDT 2010


Awesome! Thanks.

You may want to post this on the Bug filed in the Google code lugaru 
project as well.


Ondřej Hošek wrote:
> Hello list members,
>
> the attached patch implements a routine to enable Lugaru to deal with
> loss of focus. Whereas previously, the game would freeze with no
> chance of return, it should now pause processing and patiently await
> the window manager's message that focus has been reinstated.
>
> I won't argue that this patch is optimal, as it was born (within ten
> minutes) out of frustration from Lugaru's freezes after Alt-Tabbing,
> but I think most of us will agree that it's better than the
> infinite-loop-due-to-stub that currently "handles" focus loss.
>
> Apply, modify, and/or relicense at will.
>
> Cheers,
> ~~ Ondra
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> lugaru mailing list
> lugaru at icculus.org
> http://icculus.org/mailman/listinfo/lugaru


More information about the lugaru mailing list