[Bug 3703] restoring the valued pre-SDL window behaviour

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Sun Jun 29 02:03:26 EDT 2008


http://bugzilla.icculus.org/show_bug.cgi?id=3703





------- Comment #2 from devhc97 at gmail.com  2008-06-29 02:03 EDT -------
I question the changes of r1341. It does combine a couple of mouse movement
events into one, but the sequential UI calls tell it to "do something", and
instead of "move here, click, move there, click", it tell it to "click and
click, then move there".

Another thing, In Sys_Idle():
// If we have no input focus at all, sleep a bit
if( !( appState & ( SDL_APPMOUSEFOCUS | SDL_APPINPUTFOCUS ) ) )
{
        Cvar_SetValue( "com_unfocused", 1 );
        sleep += 16;
}
First, we should definitely not sleep if the mouse is outside of the window
borders (SDL_APPMOUSEFOCUS), but the window itself has focus. Second, if the
window is not minimized, should we even sleep at all? As long as the graphics
are drawn, it not sleep. I mean I would like to do something else (like chat on
ICQ) while spectating the game.


-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the quake3-bugzilla mailing list