GetFrontScreen() not working as docs on AROS
Posted: Mon Apr 07, 2025 9:14 pm
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.
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.