Why checks m_mouseInside while getting WM_MOUSEMOVE message.
Its message we can get only if mouse cursor under rcClient of window.
And its saying mouse ABOVE render area of window.......
https://github.com/SFML/SFML/blob/2.3.x/src/SFML/Window/Win32/WindowImplWin32.cpp#L873
And here too > https://github.com/SFML/SFML/blob/2.3.x/src/SFML/Window/Win32/WindowImplWin32.cpp#L814
Ok I can modify and add variable to simply directly check this...
Maybe its my fault - some reset logic after WM_KILLFOCUS / WM_SETFOCUS....
Need to reenable ClipCursor(..) at >>
https://github.com/SFML/SFML/blob/2.3.x/src/SFML/Window/Win32/WindowImplWin32.cpp#L583
Yes... ))) Sry for panic )).
Need to do like this >>
case WM_SETFOCUS:
{
// need to re-clipcursor to save clipcursor to borders of window
if(mouseOut == false)
{
WINDOWINFO wiInfo;
GetWindowInfo(getSystemHandle(), &wiInfo);
ClipCursor(&wiInfo.rcClient);
}
Event event;
event.type = Event::GainedFocus;
pushEvent(event);
break;
}