From mint-bounce@lists.fishpool.fi Thu Feb 4 15:38:29 2010 Message-ID: <4B6B2F70.10407@lutece.net> Date: Thu, 04 Feb 2010 21:34:56 +0100 From: OL User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: mint@fishpool.com Subject: Re: [MiNT] cflib screen locking References: <201002022139.p8453@b.maus.de> <4B689F06.1050505@lutece.net> <4B69F5C1.1090501@online.no> In-Reply-To: <4B69F5C1.1090501@online.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: o.l@lutece.net Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o14KcSpj008008 Jo Even Skarstein a écrit : > 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. > I never think about accessory , I look in Emutos source and yes it looks possible because the form_do() use the evnt_multi() so it is possible TOS swap threads. So yes you have true. Oups! > >> 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. > Yes totaly true > 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). > Oh yes I never see this, but possible, I have start with Magic 5 if I remember and it return -1. Olivier > Jo Even > > > > >