On Fri, Sep 21, 2012 at 5:47 AM, Bob Sneidar <b...@twft.com> wrote:

> Face it Richmond. It's you and me against the world. ;-)


If you can't sleep at night because you're worried about multiple lock
screen, or keeping track of pairs, why not:

if the lockScreen is false then lock screen

If you only ever use this, when you absolutely need the screen to be
locked, then the count will only ever be 1. For those instances where you
absolutely need the screen to be unlocked:

if the lockScreen is true then unlock screen

Then you don't have to bother about keeping track of pairs and can rest
easy at nights knowing that if left to the engine it only has to unlock
once when it goes idle - rather than having to wait a millisecond longer if
you had dozens piled up.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to