Fix window focus event handling
This commit is contained in:
parent
86f737802e
commit
ce33ada2c8
1 changed files with 1 additions and 1 deletions
|
@ -562,7 +562,7 @@ BOOL SystemTask(void)
|
|||
break;
|
||||
|
||||
case SDL_WINDOWEVENT:
|
||||
switch (event.window.type)
|
||||
switch (event.window.event)
|
||||
{
|
||||
case SDL_WINDOWEVENT_FOCUS_LOST:
|
||||
InactiveWindow();
|
||||
|
|
Loading…
Add table
Reference in a new issue