Respect "Hide pointer while typing" Windows preference setting

meow-7.2.2
Ansariel 2017-09-13 20:08:40 +02:00
parent 6c2969791e
commit 80d5c638ce
1 changed files with 5 additions and 1 deletions

View File

@ -1685,7 +1685,11 @@ void LLWindowWin32::showCursorFromMouseMove()
void LLWindowWin32::hideCursorUntilMouseMove()
{
if (!mHideCursorPermanent)
// <FS:Ansariel> Respect "Hide pointer while typing" Windows preference setting
//if (!mHideCursorPermanent)
BOOL mouse_manish = FALSE;
if (!mHideCursorPermanent && (!SystemParametersInfo(SPI_GETMOUSEVANISH, 0, &mouse_manish, 0) || mouse_manish))
// </FS:Ansariel>
{
hideCursor();
mHideCursorPermanent = FALSE;