Page 1 of 1

GetFrontScreen() not working as docs on AROS

Posted: Mon Apr 07, 2025 9:14 pm
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.

Re: GetFrontScreen() not working as docs on AROS

Posted: Fri Apr 18, 2025 11:00 pm
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!

Re: GetFrontScreen() not working as docs on AROS

Posted: Sun May 04, 2025 5:33 pm
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