Comment 6 for bug 777417

Revision history for this message
Lukáš Machyán (phobulos) wrote :

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.