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;
|
break;
|
||||||
|
|
||||||
case SDL_WINDOWEVENT:
|
case SDL_WINDOWEVENT:
|
||||||
switch (event.window.type)
|
switch (event.window.event)
|
||||||
{
|
{
|
||||||
case SDL_WINDOWEVENT_FOCUS_LOST:
|
case SDL_WINDOWEVENT_FOCUS_LOST:
|
||||||
InactiveWindow();
|
InactiveWindow();
|
||||||
|
|
Loading…
Add table
Reference in a new issue