Skip to content
Permalink
Browse files

[SDL] AppActivated and AppDeactivated were reverted

  • Loading branch information
xen2 committed Jul 26, 2019
1 parent f03a77d commit 224035d5a3aad33caebf2ea80cc0b46871d9bc4e
Showing with 2 additions and 2 deletions.
  1. +2 −2 sources/engine/Xenko.Games/SDL/GameFormSDL.cs
@@ -101,12 +101,12 @@ private void GameForm_RestoredActions(SDL.SDL_WindowEvent e)
previousWindowState = FormWindowState.Normal;
}

private void GameForm_DeActivateActions(SDL.SDL_WindowEvent e)
private void GameForm_ActivateActions(SDL.SDL_WindowEvent e)
{
AppActivated?.Invoke(this, EventArgs.Empty);
}

private void GameForm_ActivateActions(SDL.SDL_WindowEvent e)
private void GameForm_DeActivateActions(SDL.SDL_WindowEvent e)
{
AppDeactivated?.Invoke(this, EventArgs.Empty);
}

0 comments on commit 224035d

Please sign in to comment.
You can’t perform that action at this time.