[client/common] restructure project in prep for full SDL removal

This commit is contained in:
Geoffrey McRae
2021-01-25 19:58:36 +11:00
parent 6f1c19b3b0
commit bf583290a4
42 changed files with 1668 additions and 1822 deletions

View File

@@ -128,12 +128,12 @@ static bool sdlEventFilter(SDL_Event * event)
switch(event->window.event)
{
case SDL_WINDOWEVENT_ENTER:
app_handleWindowEnter();
app_handleEnterEvent(true);
return true;
case SDL_WINDOWEVENT_LEAVE:
sdl.exiting = false;
app_handleWindowLeave();
app_handleEnterEvent(false);
return true;
case SDL_WINDOWEVENT_FOCUS_GAINED: