Revert "Partially unrevert 05e82c24 for macOS which still needs it"
This reverts commit 080421f2fb.
This commit is contained in:
parent
080421f2fb
commit
51c4ecc879
4 changed files with 1 additions and 57 deletions
|
|
@ -1218,10 +1218,7 @@ void Session::exec(int displayOriginX, int displayOriginY)
|
|||
break;
|
||||
|
||||
case SDL_WINDOWEVENT:
|
||||
if (event.window.event == SDL_WINDOWEVENT_FOCUS_GAINED) {
|
||||
m_InputHandler->notifyFocusGained();
|
||||
}
|
||||
else if (event.window.event == SDL_WINDOWEVENT_FOCUS_LOST) {
|
||||
if (event.window.event == SDL_WINDOWEVENT_FOCUS_LOST) {
|
||||
m_InputHandler->notifyFocusLost();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue