GetFrontScreen() not working as docs on AROS

Report any Hollywood bugs here
Post Reply
ntromans
Posts: 69
Joined: Fri Jan 11, 2013 12:06 am

GetFrontScreen() not working as docs on AROS

Post by ntromans »

On AROS, GetFrontScreen() does not return the frontmost public screen, it gives the screen with the active window. So for example if you open a pubscreen, drag it down and then select a window on Wanderer (which is stil behind the pubscreen), 'Workbench' is returned.

This also happens if the screen is not dragged, e.g. you close an application on a public screen with teh pubscreen still at the front, if as a window on Wanderer has now become the active window GetFrontScreen() wil return 'Workbench'.

Cheers,
Nigel.
User avatar
airsoftsoftwair
Posts: 5832
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: GetFrontScreen() not working as docs on AROS

Post by airsoftsoftwair »

Right, that's definitely a bug and not just on AROS but all Amiga platforms are affected by it. Will be fixed, thanks for reporting!
User avatar
airsoftsoftwair
Posts: 5832
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: GetFrontScreen() not working as docs on AROS

Post by airsoftsoftwair »

Code: Select all

- Fix [Amiga]: GetFrontScreen() didn't return the name of the front screen but the name of the screen with the active window 
Post Reply