|
|
@ -343,12 +343,10 @@ void Platform_SetCursorType( VGUI_DefaultCursor type ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
SDL_SetCursor( cursors.cursors[type] ); |
|
|
|
SDL_SetCursor( cursors.cursors[type] ); |
|
|
|
SDL_ShowCursor( true ); |
|
|
|
SDL_ShowCursor( true ); |
|
|
|
Key_EnableTextInput( true, false ); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
SDL_ShowCursor( false ); |
|
|
|
SDL_ShowCursor( false ); |
|
|
|
Key_EnableTextInput( false, false ); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
#else |
|
|
|
#else |
|
|
|
if( host.mouse_visible ) |
|
|
|
if( host.mouse_visible ) |
|
|
|