I found some strange behavior with using fullscreen mode.
When I open app in the full screen, then switch it to windowed mode, the screen is blinking on app closing. It seems like video mode switch. It's strange, because app is already switched to window mode, so it should restore original video mode when I switched it to windowed mode, but it doing it on app close.
What happens exactly with display on app close and how to eliminate such blinking?