Can't detect inactive fullscreen display

Discuss OpenGL® programming with the GL Galore plugin here
Post Reply
User avatar
lazi
Posts: 647
Joined: Thu Feb 24, 2011 11:08 pm

Can't detect inactive fullscreen display

Post by lazi »

Another issue with OS4 GLGalore. The #ATTRACTIVE flag of the fullscreen GLGalore display is always true.
It seems to be correct, because when a gl loop runs in the background it is impossible to make any window active.
When the same code runs in window, that window can be inactive.

You can check it with any GLGalore example running fullscreen and bring forth the Workbench screen.
Tried to workarund this by pause the loop when the screen is behind the WB screen, but can't be get info on that.

Please add my vote for wanted in next update :-)
User avatar
airsoftsoftwair
Posts: 5848
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Can't detect inactive fullscreen display

Post by airsoftsoftwair »

I don't quite get this one. Do you think #ATTRACTIVE should return FALSE in case a GL Galore script runs in fullscreen but that screen is not the frontmost screen?
User avatar
lazi
Posts: 647
Joined: Thu Feb 24, 2011 11:08 pm

Re: Can't detect inactive fullscreen display

Post by lazi »

Yes!
But the main problem is that GL Galore fullcreen displays can't lost focus. When other screens bring forth no window can be selected. It doesn't depend on what the main loop contains.
Just try any GL Galore examples in full screen. Bring forth the WB display and try to select/open any windows. It can be selected but instantly deselects.
User avatar
airsoftsoftwair
Posts: 5848
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Can't detect inactive fullscreen display

Post by airsoftsoftwair »

Ok, I'll try but the issue sounds very strange. Could also be related to MiniGL. I'll check.
Post Reply