I am trying to make a fullscreen game in Python out of Pygame. My problem is, I can't use the command+tab Mac system key combination (which is tab out) while in full screen. I also can't hide it. This is my code:
display = (1440,900)
pygame.init()
screen = pygame.display.set_mode(display, pygame.DOUBLEBUF | pygame.FULLSCREEN)
I've tried using pygame.display.iconify() to hide and minimize the window in order to tab out of the program, but it doesn't work in fullscreen because instead it creates a fullscreen black window. I also don't want to toggle fullscreen while doing this.