[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] surface.get_flags() and pygame.FULLSCREEN



Brian Fisher wrote:
Your argument is irrelevant to someone with my perspective- it's still a fullscreen display - it just can't grab the screen in exclusive mode when it's not active. In my opinion, you are misunderstanding what the flag means.
Okay, that may be.

You said it does regrab fullscreen, but it just takes a few seconds, is that correct? So is the problem here that you want to be able to tell when it is in the state where it is active but has not yet gotten exclusive mode yet?
Sometimes it does regrab fullscreen after a few seconds - and sometimes it doesn't, continuing to run in windowed. I've recently set up a "debug server" so I can query the various flags at runtime, and I'll see if it re-occurs.

When it doesn't regrab fullscreen, I can't seem to nudge it in the right direction as an "end user" (like changing focused window).

I'd love to detect when it's supposed to be fullscreen and isn't, and when it's about to regrab full-screen. If I can reproduce the problem when it doesn't regrab fullscreen, I'll try querying the various states. :)

--
Kindest regards, Jørgen P. Tjernø