|
|
@ -340,7 +340,11 @@ static void SDLash_ActiveEvent( int gain ) |
|
|
|
if( gain ) |
|
|
|
if( gain ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
host.status = HOST_FRAME; |
|
|
|
host.status = HOST_FRAME; |
|
|
|
|
|
|
|
if( cls.key_dest == key_game ) |
|
|
|
|
|
|
|
{ |
|
|
|
IN_ActivateMouse( ); |
|
|
|
IN_ActivateMouse( ); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if( dma.initialized && snd_mute_losefocus.value ) |
|
|
|
if( dma.initialized && snd_mute_losefocus.value ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
SNDDMA_Activate( true ); |
|
|
|
SNDDMA_Activate( true ); |
|
|
@ -360,7 +364,11 @@ static void SDLash_ActiveEvent( int gain ) |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
host.status = HOST_NOFOCUS; |
|
|
|
host.status = HOST_NOFOCUS; |
|
|
|
|
|
|
|
if( cls.key_dest == key_game ) |
|
|
|
|
|
|
|
{ |
|
|
|
IN_DeactivateMouse(); |
|
|
|
IN_DeactivateMouse(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if( dma.initialized && snd_mute_losefocus.value ) |
|
|
|
if( dma.initialized && snd_mute_losefocus.value ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
SNDDMA_Activate( false ); |
|
|
|
SNDDMA_Activate( false ); |
|
|
|