I am currently programming a game using Python and PyGame. I use Ubuntu 23.10 x86_64 and verified that it uses Wayland as the default display server. (echo $XDG_SESSION_TYPE
returns "wayland
"). Until recently, I've never encountered any problems, but now I suddenly got a warning that appears every time I run the game:
Warning: PyGame seems to be running through X11 on top of wayland, instead of wayland directly screen = pygame.display.set_mode((0, 0), pygame.RESIZABLE)
I've searched online but didn't find any solution to this warning. Any help would be appreciated.