mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-13 21:02:28 +00:00
Don't cancel mouse capture on focus loss in absolute mode
This commit is contained in:
parent
f926ad9b5e
commit
f2d5cf785e
1 changed files with 1 additions and 1 deletions
|
@ -1386,7 +1386,7 @@ void SdlInputHandler::notifyFocusLost(SDL_Window* window)
|
|||
// This lets user to interact with our window's title bar and with the buttons in it.
|
||||
// Doing this while the window is full-screen breaks the transition out of FS
|
||||
// (desktop and exclusive), so we must check for that before releasing mouse capture.
|
||||
if (!(SDL_GetWindowFlags(window) & SDL_WINDOW_FULLSCREEN)) {
|
||||
if (!(SDL_GetWindowFlags(window) & SDL_WINDOW_FULLSCREEN) && !m_AbsoluteMouseMode) {
|
||||
setCaptureActive(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue