mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-21 07:46:52 +00:00
Partially unrevert 05e82c24 for macOS which still needs it
This commit is contained in:
1 parent
8cc61ca8b8
commit
080421f2fb
4 files changed
+57
-1
No files matched your search
@@ -1218,7 +1218,10 @@ void Session::exec(int displayOriginX, int displayOriginY)
|
||||
break;
|
||||
|
||||
case SDL_WINDOWEVENT:
|
||||
if (event.window.event == SDL_WINDOWEVENT_FOCUS_LOST) {
|
||||
if (event.window.event == SDL_WINDOWEVENT_FOCUS_GAINED) {
|
||||
m_InputHandler->notifyFocusGained();
|
||||
}
|
||||
else if (event.window.event == SDL_WINDOWEVENT_FOCUS_LOST) {
|
||||
m_InputHandler->notifyFocusLost();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user