I have put 'os.environ["SDL_VIDEO_X11_WMCLASS"] = "name of .desktop file"' to my Python code (before pygame.init() statement) and created .desktop file in ~/.local/share/applications. It works fine for my game now. Thanks for your advice - it helped my game to look better in Unity.
It would be better to implement this in Pygame of course. I can't suggest better solution for this. Good luck with solving this problem.
I have put 'os.environ[ "SDL_VIDEO_ X11_WMCLASS" ] = "name of .desktop file"' to my Python code (before pygame.init() statement) and created .desktop file in ~/.local/ share/applicati ons. It works fine for my game now. Thanks for your advice - it helped my game to look better in Unity.
It would be better to implement this in Pygame of course. I can't suggest better solution for this. Good luck with solving this problem.