Fixed mouse focus events after resetting video mode on Windows
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40830
This commit is contained in:
parent
1d18f35f0b
commit
461cccf912
1 changed files with 1 additions and 1 deletions
|
@ -286,9 +286,9 @@ LONG CALLBACK WinMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
/* mouse has left the window */
|
/* mouse has left the window */
|
||||||
/* or */
|
/* or */
|
||||||
/* Elvis has left the building! */
|
/* Elvis has left the building! */
|
||||||
in_window = FALSE;
|
|
||||||
posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
|
posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
|
||||||
}
|
}
|
||||||
|
in_window = FALSE;
|
||||||
}
|
}
|
||||||
return(0);
|
return(0);
|
||||||
#endif /* WM_MOUSELEAVE */
|
#endif /* WM_MOUSELEAVE */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue