How I know if/when gamewindow loses focus?
Or get minimized?
There are no relevant events at the moment. You can check the WindowState property to see if the window is minimized.
Both of these will be implemented as part of the gw-next branch.
Site design by Stefanos A. Icons courtesy of gnome-colors.