Alt+Tab or Cmd + Tab on PC/MAC doesn't trigger 'lose/gain focus'

harshhsrah

  • *
  • Posts: 66
Alt+Tab or Cmd+Tab on PC/MAC switches windows but music in the game continues to play which shouldn't happen
Any suggestions how to pause this ?...
I have fiddled with the focus event but with no success...I am using (3.4 b9300)
If I am running the game in windowed mode and use the minimize/maximize controls in the window corner, the window does lose/gain focus properly and using that event I can control the pausing of music,  but alt+tab is still a problem and is not affecting the focus at all (both in case of window or full screen) which is odd