mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-23 16:43:52 +00:00
1 parent
5309a02f6d
commit
1cd66419d4
4 files changed
+7
-3
No files matched your search
@@ -146,7 +146,8 @@ void SdlInputHandler::flushMousePositionUpdate()
|
||||
// executes.
|
||||
SDL_Event event;
|
||||
event.type = SDL_USEREVENT;
|
||||
event.user.code = mouseInVideoRegion ? SDL_CODE_HIDE_CURSOR : SDL_CODE_SHOW_CURSOR;
|
||||
event.user.code = (mouseInVideoRegion && m_MouseCursorCapturedVisibilityState == SDL_DISABLE) ?
|
||||
SDL_CODE_HIDE_CURSOR : SDL_CODE_SHOW_CURSOR;
|
||||
SDL_PushEvent(&event);
|
||||
|
||||
if (!mouseInVideoRegion && buttonState != 0) {
|
||||
|
||||
Reference in new issue
Block a user