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.
GetFrontScreen() not working as docs on AROS
- airsoftsoftwair
- Posts: 5832
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: GetFrontScreen() not working as docs on AROS
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!
- airsoftsoftwair
- Posts: 5832
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: GetFrontScreen() not working as docs on AROS
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