[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] cflib screen locking



OL wrote:

> Why do you need to do wind_update(BEG_UPDATE) before fsel_input() ?
> 
> On single TOS there is no need to lock anything and lock screen on

This is not entirely correct. Under TOS a desk accessory can mess up the
 fileselector if the screen is not locked first. But a lot of
applications doesn't do this.

> Notice you can know if you are in multitask AES or not by using return
> on appl_init() if -1 this is multitask.

You mean aesglobal[1], right? appl_init() returns the apid of the
application, -1 indicates an error.

Btw this value can not be trusted. N.AES can be configured to put any
value into this, and IIRC older versions of MagiC put a positive value
here (perhaps because it actually had a limit on the number of
concurrent applications).

Jo Even