mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-16 13:23:07 +00:00
Use mouse capture for Win32 instead of our global mouse state hack
This commit is contained in:
@@ -1321,6 +1321,9 @@ void Session::exec(int displayOriginX, int displayOriginY)
|
||||
case SDL_CODE_SHOW_CURSOR:
|
||||
SDL_ShowCursor(SDL_ENABLE);
|
||||
break;
|
||||
case SDL_CODE_UNCAPTURE_MOUSE:
|
||||
SDL_CaptureMouse(SDL_FALSE);
|
||||
break;
|
||||
case SDL_CODE_FLUSH_WINDOW_EVENT_BARRIER:
|
||||
m_FlushingWindowEventsRef--;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user